[ekiga] Renamed the opal-plugins-hacks.* files to opal-plugins-hook.*



commit 2568f4703d4d49c27187cad30009db1262ac1a1b
Author: Julien Puydt <jpuydt gnome org>
Date:   Mon Nov 29 17:41:38 2010 +0100

    Renamed the opal-plugins-hacks.* files to opal-plugins-hook.*
    
    I did move some hackish code in them, then cleaned it, so it's not
    hackish anymore -- and should be reflected in the file name, as pointed
    out by Eugen.

 lib/Makefile.am                                    |    4 ++--
 lib/engine/components/opal/opal-main.cpp           |    2 +-
 ...pal-plugins-hacks.cpp => opal-plugins-hook.cpp} |   10 +++-------
 .../{opal-plugins-hacks.h => opal-plugins-hook.h}  |    2 +-
 4 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 1db87a1..7811dc0 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -518,8 +518,8 @@ libekiga_la_SOURCES += \
 	$(components_dir)/opal/opal-videoinput.cpp \
 	$(components_dir)/opal/opal-videooutput.h \
 	$(components_dir)/opal/opal-videooutput.cpp \
-	$(components_dir)/opal/opal-plugins-hacks.h \
-	$(components_dir)/opal/opal-plugins-hacks.cpp
+	$(components_dir)/opal/opal-plugins-hook.h \
+	$(components_dir)/opal/opal-plugins-hook.cpp
 
 if HAVE_H323
 libekiga_la_SOURCES += \
diff --git a/lib/engine/components/opal/opal-main.cpp b/lib/engine/components/opal/opal-main.cpp
index b981fe2..9ba1428 100644
--- a/lib/engine/components/opal/opal-main.cpp
+++ b/lib/engine/components/opal/opal-main.cpp
@@ -54,7 +54,7 @@
 #include "opal-account.h"
 #include "opal-bank.h"
 #include "opal-call-manager.h"
-#include "opal-plugins-hacks.h"
+#include "opal-plugins-hook.h"
 
 #include "sip-endpoint.h"
 #define SIP_KEY "/apps/" PACKAGE_NAME "/protocols/sip/"
diff --git a/lib/engine/components/opal/opal-plugins-hacks.cpp b/lib/engine/components/opal/opal-plugins-hook.cpp
similarity index 93%
rename from lib/engine/components/opal/opal-plugins-hacks.cpp
rename to lib/engine/components/opal/opal-plugins-hook.cpp
index f1af9f6..f58b442 100644
--- a/lib/engine/components/opal/opal-plugins-hacks.cpp
+++ b/lib/engine/components/opal/opal-plugins-hook.cpp
@@ -27,7 +27,7 @@
 
 
 /*
- *                         opal-plugins-hacks.cpp  -  description
+ *                         opal-plugins-hook.cpp  -  description
  *                         --------------------------------
  *   begin                : Sun Sept 26 2010
  *   copyright            : (C) 2010 by Julien Puydt
@@ -35,16 +35,12 @@
  *
  */
 
-/*
- * Notice that we use engine_get_service_core, which is an awful hack to get
- * a static object -- it should be possible to register those plugins at
- * runtime through a function, getting the necessary service core directly.
- */
-
 #include "opal-audio.h"
 #include "opal-videoinput.h"
 #include "opal-videooutput.h"
 
+#include "opal-plugins-hook.h"
+
 // we first declare the three plugin service descriptor classes
 
 class PSoundChannel_EKIGA_PluginServiceDescriptor : public PDevicePluginServiceDescriptor
diff --git a/lib/engine/components/opal/opal-plugins-hacks.h b/lib/engine/components/opal/opal-plugins-hook.h
similarity index 96%
rename from lib/engine/components/opal/opal-plugins-hacks.h
rename to lib/engine/components/opal/opal-plugins-hook.h
index 109a875..07f954c 100644
--- a/lib/engine/components/opal/opal-plugins-hacks.h
+++ b/lib/engine/components/opal/opal-plugins-hook.h
@@ -27,7 +27,7 @@
 
 
 /*
- *                         opal-plugins-hacks.h  -  description
+ *                         opal-plugins-hook.h  -  description
  *                         --------------------------------
  *   begin                : Sun Sept 26 2010
  *   copyright            : (C) 2010 by Julien Puydt



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]