[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/arts/knotify
From:       Ralf Nolden <nolden () kde ! org>
Date:       2003-09-02 22:08:24
[Download RAW message or body]

CVS commit by rnolden: 

According to dirk this is the same thing like with kaddprinterwizard.so/.la,
so changed here too to make knotify.so a kde_module


  M +1 -1      Makefile.am   1.22
  M +4 -2      knotify.cpp   1.85


--- kdelibs/arts/knotify/Makefile.am  #1.21:1.22
@@ -4,5 +4,5 @@
 ####### Files
 
-lib_LTLIBRARIES = knotify.la
+kde_module_LTLIBRARIES = knotify.la
 
 knotify_la_SOURCES      = knotify.cpp knotify.skel

--- kdelibs/arts/knotify/knotify.cpp  #1.84:1.85
@@ -90,5 +90,7 @@ public:
 KArtsServer *soundServer;
 
-int main(int argc, char **argv)
+extern "C"{
+
+int kdemain(int argc, char **argv)
 {
     KAboutData aboutdata("knotify", I18N_NOOP("KNotify"),
@@ -204,5 +206,5 @@ int main(int argc, char **argv)
     return ret;
 }
-
+}// end extern "C"
 
 KNotify::KNotify( bool useArts )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic