Kaydet (Commit) f627c122 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No need for declarations in include file

...of functions only accessed via dlopen

Change-Id: I6b9998298fc6df68fb0d3003cef77a62ecef8976
üst 64ccf3ff
...@@ -170,9 +170,6 @@ extern "C" { ...@@ -170,9 +170,6 @@ extern "C" {
void aqua_init_systray(); void aqua_init_systray();
void aqua_shutdown_systray(); void aqua_shutdown_systray();
# endif # endif
// external plugin systray impl.
void plugin_init_sys_tray();
void plugin_shutdown_sys_tray();
} }
#endif #endif
......
...@@ -55,6 +55,13 @@ ...@@ -55,6 +55,13 @@
using namespace ::osl; using namespace ::osl;
extern "C" {
void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray();
void SAL_DLLPUBLIC_EXPORT plugin_shutdown_sys_tray();
}
static ResMgr *pVCLResMgr; static ResMgr *pVCLResMgr;
static GtkStatusIcon* pTrayIcon; static GtkStatusIcon* pTrayIcon;
static GtkWidget *pExitMenuItem = NULL; static GtkWidget *pExitMenuItem = NULL;
...@@ -360,7 +367,7 @@ static void notify_file_changed(GFileMonitor * /*gfilemonitor*/, GFile * /*arg1* ...@@ -360,7 +367,7 @@ static void notify_file_changed(GFileMonitor * /*gfilemonitor*/, GFile * /*arg1*
} }
#endif #endif
void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray() void plugin_init_sys_tray()
{ {
::SolarMutexGuard aGuard; ::SolarMutexGuard aGuard;
...@@ -411,7 +418,7 @@ void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray() ...@@ -411,7 +418,7 @@ void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray()
#endif #endif
} }
void SAL_DLLPUBLIC_EXPORT plugin_shutdown_sys_tray() void plugin_shutdown_sys_tray()
{ {
::SolarMutexGuard aGuard; ::SolarMutexGuard aGuard;
if( !pTrayIcon ) if( !pTrayIcon )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment