1. Herbert Breunung
  2. Kephra

Commits

Herbert Breunung  committed c9bbd34

reordering the module namespaces

  • Participants
  • Parent commits ce086fd
  • Branches default

Comments (0)

Files changed (5)

File Makefile.PL

View file
     PL_FILES            => {},
     PREREQ_PM => {
         'Test::More' => 0,
+        'Benchmark' => 0,
+        'Encode' => 0,
+        'File::Find' => 0,
+        'File::Spec::Functions' => 0,
+        'File::UserConfig' => 0,
+        'Config::General' => 0,
+        'YAML::Tiny' => 0,
+        'PPI' => 0.009,
+        'Moo' => 0.009,
+        'Wx' => 0.74,
+        'Wx::Perl::ProcessStream' => 0,
     },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
     clean               => { FILES => 'Kephra-*' },

File README

View file
 
 To install this module, run the following commands:
 
-	perl Makefile.PL
-	make
-	make test
-	make install
+    perl Makefile.PL
+    make
+    make test
+    make install
 
 SUPPORT AND DOCUMENTATION
 
 
 You can also look for information at:
 
-	HG Source Archive
-		https://bitbucket.org/lichtkind/kephra
+    HG Source Archive
+        https://bitbucket.org/lichtkind/kephra
 
-	Homepage
-		https://http://kephra.sourceforge.net
+    Homepage
+        https://http://kephra.sourceforge.net
 
     RT, CPAN's request tracker (report bugs here)
         http://rt.cpan.org/NoAuth/Bugs.html?Dist=Kephra

File lib/Kephra.pm

View file
 	print "good\n";
 }
 
+our @external_modules = qw//;
+
 sub load_libs {
-	require Benchmark;
+	require 'Benchmark';
 	require Encode;
 	require Encode::Guess;
 	require File::Find;
 	require Config::General;
 	require YAML::Tiny;
 	require PPI;
-	require Mouse;
+	require Moo;
 	require Wx;
 	require Wx::AUI;
 	require Wx::DND;
 	require Wx::Perl::ProcessStream;
 
-	require Kephra::API;   # 
+	#require Kephra::API;   # 
 	require Kephra::App;   # visible main application
 	#require Kephra::App::MenuBar;
 	#require Kephra::App::TabBar;
 	#require Kephra::Config::Localisation;
 	#require Kephra::Document;
 	#require Kephra::EventTable;
-	require Kephra::Logger;
+	#require Kephra::Logger;
 	#require Kephra::Plugin;
-	require Kephra::Worker;
+	#require Kephra::Worker;
 }
 
 
 
     perldoc Kephra
 
-
 You can also look for information at:
 
 =over 4

File lib/Kephra/API.pm

View file
 
 package Kephra::API;
 
+sub configs {}
 
 1;
+
+__END__
+
+=head1 NAMESPACES
+
+* App::
+
+All the Wx-GUI-related stuff
+
+Kephra - beautiful Texteditor that works as you prefer
+

File lib/Kephra/App.pm

View file
 our @ISA = 'Wx::App';       # $NAME is a wx application
 
 sub OnInit {
+    my $app = shift;
+    my $frame = 
+    1;
 }
 
 sub OnExit {