#include <FShellAppWidgetFrame.h>
#include <FShellAppWidgetPopup.h>
#include <FShellIAppWidgetRequestListener.h>
+#include <FShellIAppWidgetViewEventListener.h>
#include <FShellShortcutManager.h>
#include <FShellIShortcutRequestListener.h>
#include <FShellLockManager.h>
* @since 2.0
*
* @privlevel public
- * @privilege %http://tizen.org/privilege/notification
+ * @privilege %http://tizen.org/privilege/notification @n
+ * (%http://tizen.org/privilege/notificationmanager is deprecated.)
*
* @return An error code
* @param[in] appId The application ID
* @since 2.0
*
* @privlevel public
- * @privilege %http://tizen.org/privilege/notification
+ * @privilege %http://tizen.org/privilege/notification @n
+ * (%http://tizen.org/privilege/notificationmanager is deprecated.)
*
* @return An error code
* @param[in] appId The application ID
* @since 2.0
*
* @privlevel public
- * @privilege %http://tizen.org/privilege/notification
+ * @privilege %http://tizen.org/privilege/notification @n
+ * (%http://tizen.org/privilege/notificationmanager is deprecated.)
*
* @return An error code
* @param[in] appId The application ID
* @since 2.0
*
* @privlevel public
- * @privilege %http://tizen.org/privilege/notification
+ * @privilege %http://tizen.org/privilege/notification @n
+ * (%http://tizen.org/privilege/notificationmanager is deprecated.)
*
* @return An error code
* @param[in] appId The application ID
*
* @since 2.0
* @privlevel public
- * @privilege %http://tizen.org/privilege/notification
+ * @privilege %http://tizen.org/privilege/notification @n
+ * (%http://tizen.org/privilege/notificationmanager is deprecated.)
*
* @return The current badge number if the method is successful, @n
else @c -1 if the method fails
${CMAKE_SOURCE_DIR}/inc
${CMAKE_SOURCE_DIR}/src/inc
${CMAKE_SOURCE_DIR}/src/core
- /usr/include/chromium
/usr/include/osp
/usr/include/osp/app
/usr/include/osp/base
/usr/include/osp/io
- /usr/include/osp/graphics
/usr/include/osp/security
-
- /usr/include
+
/usr/include/appfw
- /usr/include/glib-2.0
- /usr/lib/glib-2.0/include
- /usr/include/chromium
- /usr/include/dlog
- /usr/include/dbus-1.0
/usr/include/notification
/usr/include/shortcut
- /usr/lib/dbus-1.0/include
- /usr/include/libxml2
- /usr/include/system
/usr/include/vconf
/usr/include/badge
)
SET (${this_target}_SOURCE_FILES
+ FShellLockManager.cpp
FShellNotificationManager.cpp
- FShell_NotificationManagerImpl.cpp
FShellNotificationRequest.cpp
- FShell_NotificationRequestImpl.cpp
FShellShortcutManager.cpp
- FShell_ShortcutManagerImpl.cpp
- FShellLockManager.cpp
FShell_LockManagerImpl.cpp
+ FShell_NotificationManagerImpl.cpp
+ FShell_NotificationRequestImpl.cpp
+ FShell_ShortcutManagerImpl.cpp
)
## Definitions
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -Wl,--as-needed")
TARGET_LINK_LIBRARIES(${this_target} "-lpthread" )
-TARGET_LINK_LIBRARIES(${this_target} "-lchromium" )
TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw" )
TARGET_LINK_LIBRARIES(${this_target} "-lcapi-appfw-application" )
TARGET_LINK_LIBRARIES(${this_target} "-lcapi-appfw-app-manager" )
TARGET_LINK_LIBRARIES(${this_target} "-lnotification" )
-TARGET_LINK_LIBRARIES(${this_target} "-lecore" )
-TARGET_LINK_LIBRARIES(${this_target} "-levas" )
-TARGET_LINK_LIBRARIES(${this_target} "-leina" )
-TARGET_LINK_LIBRARIES(${this_target} "-lecore_evas" )
TARGET_LINK_LIBRARIES(${this_target} "-lshortcut" )
TARGET_LINK_LIBRARIES(${this_target} "-lvconf" )
TARGET_LINK_LIBRARIES(${this_target} "-lbadge" )
*/
#include <cstdlib>
-//#include <pthread.h>
#include <unique_ptr.h>
-
#include <FBaseLog.h>
#include <FBaseSysLog.h>
#include <FShellLockManager.h>
#include <FShell_LockManagerImpl.h>
-namespace Tizen { namespace Shell {
+namespace Tizen { namespace Shell
+{
LockManager* LockManager::__pTheInstance = null;
return __pLockManagerImpl->Unlock();
}
-
}} // Tizen::Shell
/**
* @file FShellNotificationManager.cpp
- * @brief This is the placeholder for NotificationManager class.
+ * @brief This is the implementation for NotificationManager class.
*/
#include <new>
-
#include <FBaseSysLog.h>
#include <FShellNotificationManager.h>
#include <FShellIBadgeEventListener.h>
//
/**
- * @file FShellNotificationRequest.cpp
- * @brief This is the placeholder for NotificationRequest class.
+ * @file FShellNotificationRequest.cpp
+ * @brief This is the implementation for NotificationRequest class.
*/
#include <new>
-
-#include <FAppTypes.h>
-#include <FShellNotificationRequest.h>
-
#include <FBaseSysLog.h>
+#include <FShellNotificationRequest.h>
#include "FShell_NotificationRequestImpl.h"
using namespace Tizen::Base;
using namespace Tizen::Security;
-
namespace Tizen { namespace Shell
{
return __pNotificationRequestImpl->GetAppMessage();
}
-
result
NotificationRequest::SetAppMessage(const String& appMessage)
{
return __pNotificationRequestImpl->SetOngoingActivityProgress(progressValue);
}
-
NotificationStyle
NotificationRequest::GetNotificationStyle(void) const
{
return __pNotificationRequestImpl->SetNotificationStyle(style);
}
-
Tizen::Base::Collection::IList*
NotificationRequest::GetMessageTextListN(void) const
{
return __pNotificationRequestImpl->GetMessageTextListN();
}
-
result
NotificationRequest::SetMessageTextList(const Tizen::Base::Collection::IList* pTextList)
{
return __pNotificationRequestImpl->SetMessageTextList(pTextList);
}
-
Tizen::Base::Collection::IList*
NotificationRequest::GetMessageThumbnailFilePathListN(void) const
{
return __pNotificationRequestImpl->GetMessageThumbnailFilePathListN();
}
-
result
NotificationRequest::SetMessageThumbnailFilePathList(const Tizen::Base::Collection::IList* pThumbnailPathList)
{
return __pNotificationRequestImpl->SetMessageThumbnailFilePathList(pThumbnailPathList);
}
-
Tizen::Base::String
NotificationRequest::GetNotificationCountText(void) const
{
return __pNotificationRequestImpl->GetNotificationCountText();
}
-
result
NotificationRequest::SetNotificationCountText(const Tizen::Base::String& notificationCountText)
{
return __pNotificationRequestImpl->SetNotificationCountText(notificationCountText);
}
-
Tizen::Base::String
NotificationRequest::GetBackgroundImageFilePath(void) const
{
return __pNotificationRequestImpl->GetBackgroundImageFilePath();
}
-
result
NotificationRequest::SetBackgroundImageFilePath(const Tizen::Base::String& imagePath)
{
*/
#include <unique_ptr.h>
-
#include <shortcut.h>
-
#include <FBaseSysLog.h>
#include <FShellShortcutManager.h>
#include <FShellIShortcutRequestListener.h>
-
#include <FApp_Types.h>
#include <FApp_AppInfo.h>
#include <FBase_StringConverter.h>
return __pShortcutManagerImpl->RemoveShortcutRequestListener(listener);
}
-
}} // Tizen::Shell
-/*
- * FShell_LockManagerImpl.cpp
- *
- * Created on: Feb 15, 2013
- * Author: jungmin76park
+//
+// Open Service Platform
+// Copyright (c) 2013 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Apache License, Version 2.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file FShell_LockManagerImpl.cpp
+ * @brief This is the implementation for the _LockManagerImpl class.
*/
#include <vconf.h>
#include <FBaseSysLog.h>
#include <FShell_LockManagerImpl.h>
-namespace Tizen { namespace Shell {
+namespace Tizen { namespace Shell
+{
#define VCONFKEY_IDLE_LOCK_STATE "memory/idle_lock/state"
#define VCONFKEY_SETAPPL_PREFIX "db/setting"
return E_SUCCESS;
}
-
}} // Tizen::Shell
//
/**
- * @file FShell_NotificationManagerImpl.cpp
- * @brief This is the placeholder for _NotificationManagerImpl class.
+ * @file FShell_NotificationManagerImpl.cpp
+ * @brief This is the implementation for _NotificationManagerImpl class.
*/
#include <unique_ptr.h>
-#include <appsvc/appsvc.h>
-#include <bundle.h>
#include <notification/notification.h>
#include <appfw/app.h>
#include <appfw/app_manager.h>
-#include <appfw/app_ui_notification.h>
#include <badge.h>
-
#include <FBaseSysLog.h>
-#include <FApp.h>
+#include <FIoFile.h>
+#include <FAppApp.h>
#include <FShellNotificationManager.h>
#include <FShellNotificationRequest.h>
#include <FShellIBadgeEventListener.h>
-
-#include "FBase_StringConverter.h"
-#include "FApp_AppInfo.h"
-#include "FApp_Aul.h"
-#include "FIoFile.h"
-#include "FAppPkg_PackageManagerImpl.h"
-#include "FApp_AppArg.h"
-#include "FAppPkgPackageAppInfo.h"
-#include "FAppPkg_PackageAppInfoImpl.h"
+#include <FBase_StringConverter.h>
+#include <FApp_Aul.h>
+#include <FApp_AppArg.h>
#include "FShell_NotificationManagerImpl.h"
#include "FShell_NotificationRequestImpl.h"
using namespace Tizen::Base;
using namespace Tizen::Base::Collection;
using namespace Tizen::App;
-using namespace Tizen::App::Package;
using namespace Tizen::Io;
-using namespace Tizen::Shell;
extern "C" int service_create_request(bundle *data, service_h *service);
extern "C" int service_to_bundle(service_h service, bundle** data);
//
/**
- * @file FShell_NotificationRequestImpl.cpp
- * @brief This is the placeholder for _NotificationRequestImpl class.
+ * @file FShell_NotificationRequestImpl.cpp
+ * @brief This is the implementation for _NotificationRequestImpl class.
*/
#include <new>
#include <unique_ptr.h>
-#include <FBaseBoolean.h>
-#include <FBaseInteger.h>
#include <FBaseSysLog.h>
-#include <FAppTypes.h>
#include <FIoFile.h>
-#include <FShellNotificationManager.h>
#include <FShellNotificationRequest.h>
-
-#include <FBaseInternalTypes.h>
#include "FShell_NotificationRequestImpl.h"
-
using namespace Tizen::Base;
using namespace Tizen::Base::Collection;
using namespace Tizen::Io;
*/
#include <unique_ptr.h>
-
#include <shortcut.h>
-
#include <FBaseSysLog.h>
#include <FBase.h>
#include <FApp.h>
__pAppWidgetRequestHandlerCallback = pAppWidgetRequestHandlerFn;
}
-
}} // Tizen::Shell