Changes: Launcher library exports only main()

RevBy: Alexey Shilov
pull/1/head
Jussi Lind 15 years ago
parent 811eae9b4d
commit d9af11ef65

8
debian/changelog vendored

@ -1,12 +1,8 @@
applauncherd (0.15.2) unstable; urgency=low
applauncherd (0.15.1) unstable; urgency=low
* Changes: Launcher library exports only main()
* Changes: Install /usr/bin/applauncherd.launcher to /usr/lib/libapplauncherd.so
due to dh_strip problems and because it's not -pie.
-- Jussi Lind <jussi.lind@nokia.com> Mon, 22 Nov 2010 15:32:17 +0200
applauncherd (0.15.1) stable; urgency=low
* Changes: Added the "startup time from application grid" test
* Implemented: SWP#DUI-4282

@ -3,6 +3,9 @@ include(${QT_USE_FILE})
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_HOME_DIRECTORY}/src/common)
# Hide all symbols except the ones explicitly exported in the code (like main())
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
# Set sources
set(SRC appdata.cpp booster.cpp boosterfactory.cpp monitorbooster.cpp connection.cpp daemon.cpp mbooster.cpp logger.cpp main.cpp qtbooster.cpp wrtbooster.cpp)
set(MOC_HDRS monitorbooster.h mbooster.h)

@ -26,6 +26,8 @@
#include <fcntl.h>
#include <sys/file.h>
#include <QtCore/QtGlobal>
//! Signal handler to reap zombie processes
void reapZombies(int)
{
@ -47,7 +49,7 @@ void exitLauncher(int)
}
//! Main function
int main(int argc, char * argv[])
Q_DECL_EXPORT int main(int argc, char * argv[])
{
// Open the log

Loading…
Cancel
Save