INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/aul)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/aul/api)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/aul/app_manager)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/aul/common)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/aul/socket)
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -Wl,-zdefs" )
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden")
AUX_SOURCE_DIRECTORY(src SOURCES)
AUX_SOURCE_DIRECTORY(aul AUL_SOURCES)
AUX_SOURCE_DIRECTORY(aul/api AUL_API_SOURCES)
+AUX_SOURCE_DIRECTORY(aul/app_manager AUL_APP_MANAGER_SOURCES)
+AUX_SOURCE_DIRECTORY(aul/common AUL_COMMON_SOURCES)
+AUX_SOURCE_DIRECTORY(aul/socket AUL_SOCKET_SOURCES)
add_library(aul SHARED
${SOURCES}
${AUL_SOURCES}
- ${AUL_API_SOURCES})
+ ${AUL_API_SOURCES}
+ ${AUL_APP_MANAGER_SOURCES}
+ ${AUL_COMMON_SOURCES}
+ ${AUL_SOCKET_SOURCES})
TARGET_LINK_LIBRARIES(aul ${libpkgs_LDFLAGS})
SET_TARGET_PROPERTIES(aul PROPERTIES SOVERSION ${MAJORVER})
SET_TARGET_PROPERTIES(aul PROPERTIES VERSION ${FULLVER})
#include <tizen.h>
#include <unistd.h>
-#include "aul/api.hh"
#include "aul/api/aul_app_context.h"
-#include "aul/app_manager.hh"
-#include "aul/log_private.hh"
+#include "aul/app_manager/app_manager.hh"
+#include "aul/common/api.hh"
+#include "aul/common/log_private.hh"
using namespace aul;
*/
#include "aul/api/aul_app_event.h"
-#include "aul/api.hh"
-#include "aul/app_event.hh"
-#include "aul/exception.hh"
-#include "aul/log_private.hh"
+#include "aul/app_manager/app_event.hh"
+#include "aul/common/api.hh"
+#include "aul/common/exception.hh"
+#include "aul/common/log_private.hh"
namespace {
using namespace aul;
#include <tizen.h>
-#include "aul/api.hh"
#include "aul/api/aul_app_manager.h"
-#include "aul/app_manager.hh"
-#include "aul/log_private.hh"
+#include "aul/app_manager/app_manager.hh"
+#include "aul/common/api.hh"
+#include "aul/common/log_private.hh"
using namespace aul;
#include <memory>
+#include "aul/app_manager/app_context.hh"
#include "include/aul.h"
-#include "aul/app_context.hh"
namespace aul {
* limitations under the License.
*/
-#ifndef AUL_APP_CONTEXT_HH_
-#define AUL_APP_CONTEXT_HH_
+#ifndef AUL_APP_MANAGER_APP_CONTEXT_HH_
+#define AUL_APP_MANAGER_APP_CONTEXT_HH_
#include <bundle_cpp.h>
} // namespace aul
-#endif // AUL_APP_CONTEXT_HH_
+#endif // AUL_APP_MANAGER_APP_CONTEXT_HH_
* limitations under the License.
*/
-#include "aul/app_event.hh"
-#include "aul/exception.hh"
-#include "aul/log_private.hh"
+#include "aul/app_manager/app_event.hh"
+#include "aul/common/exception.hh"
+#include "aul/common/log_private.hh"
namespace aul {
* limitations under the License.
*/
-#ifndef AUL_APP_EVENT_HH_
-#define AUL_APP_EVENT_HH_
+#ifndef AUL_APP_MANAGER__APP_EVENT_HH_
+#define AUL_APP_MANAGER_APP_EVENT_HH_
#include <string>
-#include "aul/app_context.hh"
+#include "aul/app_manager/app_context.hh"
#include "include/aul.h"
namespace aul {
} // namespace aul
-#endif // AUL_APP_EVENT_HH_
+#endif // AUL_APP_MANAGER_APP_EVENT_HH_
#include <tizen.h>
-#include "aul/app_manager.hh"
-#include "aul/client.hh"
-#include "aul/exception.hh"
-#include "aul/log_private.hh"
+#include "aul/app_manager/app_manager.hh"
+#include "aul/common/exception.hh"
+#include "aul/common/log_private.hh"
+#include "aul/socket/client.hh"
#include "include/aul.h"
#include "include/aul_cmd.h"
#include "include/aul_error.h"
* limitations under the License.
*/
-#ifndef AUL_APP_MANAGER_HH_
-#define AUL_APP_MANAGER_HH_
+#ifndef AUL_APP_MANAGER_APP_MANAGER_HH_
+#define AUL_APP_MANAGER_APP_MANAGER_HH_
#include <memory>
#include <string>
#include <list>
-#include "aul/app_context.hh"
-#include "aul/packet.hh"
+#include "aul/app_manager/app_context.hh"
+#include "aul/socket/packet.hh"
#include "include/aul.h"
namespace aul {
} // namespace aul
-#endif // AUL_APP_MANAGER_HH_
+#endif // AUL_APP_MANAGER_APP_MANAGER_HH_
* limitations under the License.
*/
-#ifndef AUL_API_HH_
-#define AUL_API_HH_
+#ifndef AUL_COMMON_API_HH_
+#define AUL_COMMON_API_HH_
#ifdef API
#undef API
#endif
#define API __attribute__ ((visibility("default")))
-#endif // AUL_API_HH_
+#endif // AUL_COMMON_API_HH_
* limitations under the License.
*/
-#ifndef AUL_EXCEPTION_HH_
-#define AUL_EXCEPTION_HH_
+#ifndef AUL_COMMON_EXCEPTION_HH_
+#define AUL_COMMON_EXCEPTION_HH_
#include <string>
#include <exception>
-#include "aul/log_private.hh"
+#include "aul/common/log_private.hh"
#define THROW(error_code) throw Exception(error_code)
} // namespace aul
-#endif // AUL_EXCEPTION_HH_
+#endif // AUL_COMMON_EXCEPTION_HH_
* limitations under the License.
*/
-#ifndef AUL_LOG_PRIVATE_HH_
-#define AUL_LOG_PRIVATE_HH_
+#ifndef AUL_COMMON_LOG_PRIVATE_HH_
+#define AUL_COMMON_LOG_PRIVATE_HH_
#include <dlog.h>
#undef _D
#define _D LOGD
-#endif // AUL_LOG_PRIVATE_HH_
+#endif // AUL_COMMON_LOG_PRIVATE_HH_
#include <unistd.h>
-#include "aul/client.hh"
-#include "aul/exception.hh"
-#include "aul/log_private.hh"
-#include "aul/parcel.hh"
+#include "aul/common/exception.hh"
+#include "aul/common/log_private.hh"
+#include "aul/socket/client.hh"
+#include "aul/socket/parcel.hh"
namespace aul {
* limitations under the License.
*/
-#ifndef AUL_CLIENT_HH_
-#define AUL_CLIENT_HH_
+#ifndef AUL_SOCKET_CLIENT_HH_
+#define AUL_SOCKET_CLIENT_HH_
-#include "aul/packet.hh"
-#include "aul/socket.hh"
+#include "aul/socket/packet.hh"
+#include "aul/socket/socket.hh"
namespace aul {
} // namespace aul
-#endif // AUL_CLIENT_HH_
+#endif // AUL_SOCKET_CLIENT_HH_
#include <memory>
-#include "aul/packet.hh"
-#include "aul/parcel.hh"
+#include "aul/socket/packet.hh"
+#include "aul/socket/parcel.hh"
namespace aul {
* limitations under the License.
*/
-#ifndef AUL_PACKET_HH_
-#define AUL_PACKET_HH_
+#ifndef AUL_SOCKET_PACKET_HH_
+#define AUL_SOCKET_PACKET_HH_
#include <bundle_cpp.h>
#include <vector>
-#include "aul/parcel.hh"
+#include "aul/socket/parcel.hh"
namespace aul {
} // namespace aul
-#endif // AUL_PACKET_HH_
+#endif // AUL_SOCKET_PACKET_HH_
* limitations under the License.
*/
-#include "aul/parcel.hh"
+#include "aul/socket/parcel.hh"
namespace aul {
* limitations under the License.
*/
-#ifndef AUL_PARCEL_HH_
-#define AUL_PARCEL_HH_
+#ifndef AUL_SOCKET_PARCEL_HH_
+#define AUL_SOCKET_PARCEL_HH_
#include <vector>
} // namespace aul
-#endif // AUL_PARCEL_HH_
+#endif // AUL_SOCKET_PARCEL_HH_
#include <fcntl.h>
#include <unistd.h>
-#include "aul/log_private.hh"
-#include "aul/socket.hh"
+#include "aul/common/log_private.hh"
+#include "aul/socket/socket.hh"
namespace aul {
* limitations under the License.
*/
-#ifndef AUL_SOCKET_HH_
-#define AUL_SOCKET_HH_
+#ifndef AUL_SOCKET_SOCKET_HH_
+#define AUL_SOCKET_SOCKET_HH_
#include <sys/socket.h>
#include <sys/types.h>
} // namespace aul
-#endif // AUL_SOCKET_HH_
+#endif // AUL_SOCKET_SOCKET_HH_