Source

Kephra / lib / Kephra.pm

Full commit
Herbert Breunung 18bb4e7 
Herbert Breunung 9d06add 
Herbert Breunung 18bb4e7 





Herbert Breunung 5d63aec 
Herbert Breunung 18bb4e7 
Herbert Breunung d7153be 


Herbert Breunung 2ec85a6 
Herbert Breunung dba447d 
Herbert Breunung d7153be 
Herbert Breunung b4fa086 
Herbert Breunung d7153be 
Herbert Breunung 18bb4e7 
Herbert Breunung d7282aa 
Herbert Breunung e8de99d 
Herbert Breunung 0c5b6a2 
Herbert Breunung 78655d9 
Herbert Breunung 18bb4e7 


Herbert Breunung d7153be 
Herbert Breunung af514a9 


Herbert Breunung 18bb4e7 


Herbert Breunung 65376f1 
Herbert Breunung d7282aa 
Herbert Breunung d7153be 
Herbert Breunung 4cebb84 
Herbert Breunung 18bb4e7 

Herbert Breunung d85efc2 
Herbert Breunung 18bb4e7 






Herbert Breunung e3c761e 
Herbert Breunung 18bb4e7 






Herbert Breunung 8a1099c 


Herbert Breunung 18bb4e7 
Herbert Breunung ce086fd 



Herbert Breunung 18bb4e7 














Herbert Breunung e8de99d 
Herbert Breunung 18bb4e7 


Herbert Breunung 8a1099c 
Herbert Breunung ce086fd 








Herbert Breunung 18bb4e7 




















Herbert Breunung 8a1099c 




Herbert Breunung 18bb4e7 




Herbert Breunung 59f9660 
Herbert Breunung 18bb4e7 
Herbert Breunung 9a86c47 
# See end of file for docs
use v5.10;
use strict;
use warnings;


package Kephra;
our $NAME     = __PACKAGE__;    # name of entire application
our $VERSION  = '0.4.5.13';

our @external_dependencies = (
	qw/Benchmark Encode Encode::Guess Cwd/,
	qw/File::Find File::Spec File::UserConfig Config::General YAML/,
	qw/Moo/, #PPI 
	qw/Wx Wx::STC Wx::Perl::ProcessStream/, #  Wx::Scintilla
);
our @used_wx_modules = qw/Wx::AUI Wx::DND Wx::RichText/; # Wx::STC Wx::HTML

sub start {
	#start_worker_thread();
	load_libs();
	configdir();
	Kephra::App->new()->MainLoop();
}

sub load_libs {
	my $pkg = __PACKAGE__;
	eval 'require ' . $_ for @external_dependencies, @used_wx_modules;
	require Kephra::App;
	#$require_string .= $pkg . '::'; eval $require_string . $_ for @needed_at_first;
}


sub start_worker_thread {
	# TODO:  
	#Kephra::Works
}




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 2011 Herbert Breunung.

This program is released under the license: gpl v2

=cut