Commits

Herbert Breunung committed 31b399e

introducing main module

Comments (0)

Files changed (2)

+use v5.12;
+use warnings;
+
 package Kephra;
+our $NAME     = __PACKAGE__;         # name of entire application
+our $VERSION = '0.4.5.15';
 
-our $VERSION = '0.4.5';
+sub start_app {
+	#start_worker_thread();
+	require Kephra::App;
+	Kephra::App->new->MainLoop;
+}
 
-1;
+sub start_worker_thread {
+	# TODO:  
+	#require Kephra::Worker;
+}
+
+1;
+
+__END__
+
+=head1 NAME
+
+Kephra - fresh and beautiful text editor that works as you prefer
+
+=head1 SYNOPSIS
+
+just start it with some files already open
+
+    kephra file.name file name ....
+
+=head1 User Documentation
+
+
+
+=head1 INTERNALS
+
+just follow L<Kephra::API>.
+
+=head1 AUTHOR
+
+Herbert Breunung, C<< <lichtkind at cpan.org> >>
+
+=head1 BUGS
+
+Please report any bugs or feature requests to C<bug-kephra at rt.cpan.org>, or through
+the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Kephra>.  I will be notified, and then you'll
+automatically be notified of progress on your bug as I make changes.
+
+
+=head1 SUPPORT
+
+You can find documentation for this module with the perldoc command.
+
+	perldoc Kephra
+
+You can also look for information at:
+
+=over 2
+
+=item * HG Source Archive
+
+L<https://bitbucket.org/lichtkind/kephra>
+
+=item * Homepage
+
+L<https://http://kephra.sourceforge.net>
+
+=item * RT: CPAN's request tracker (report bugs here)
+
+L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Kephra>
+
+=item * AnnoCPAN: Annotated CPAN documentation
+
+L<http://annocpan.org/dist/Kephra>
+
+=item * CPAN Ratings
+
+L<http://cpanratings.perl.org/d/Kephra>
+
+=item * Search CPAN
+
+L<http://search.cpan.org/dist/Kephra/>
+
+=back
+
+
+=head1 ACKNOWLEDGEMENTS
+
+=over 2
+
+=item * Herbert Breunung E<lt>lichtkind@cpan.orgE<gt> (main author and design lead)
+
+=back
+
+=head1 LICENSE AND COPYRIGHT
+
+Copyright 2013 Herbert Breunung.
+
+This program is released under the license: gpl v2
+
+=cut
 
 unshift @INC, '.';
 require Kephra;
-require Kephra::App;
-Kephra::App->new->MainLoop;
-
+Kephra::start_app();