16 #ifndef ACSDKNOTIFICATIONS_SQLITENOTIFICATIONSSTORAGE_H_ 17 #define ACSDKNOTIFICATIONS_SQLITENOTIFICATIONSSTORAGE_H_ 27 namespace acsdkNotifications {
42 static std::shared_ptr<acsdkNotificationsInterfaces::NotificationsStorageInterface>
44 const std::shared_ptr<avsCommon::utils::configuration::ConfigurationNode>& configurationRoot);
53 static std::unique_ptr<SQLiteNotificationsStorage>
create(
69 void close()
override;
102 bool createNotificationIndicatorsTable();
109 bool createIndicatorStateTable();
112 std::mutex m_databaseMutex;
121 #endif // ACSDKNOTIFICATIONS_SQLITENOTIFICATIONSSTORAGE_H_ Definition: ConfigurationNode.h:71
::std::string string
Definition: gtest-port.h:1097
bool checkForEmptyQueue(bool *empty) override
Definition: NotificationsStorageInterface.h:33
~SQLiteNotificationsStorage()
bool setIndicatorState(IndicatorState state) override
bool enqueue(const NotificationIndicator ¬ificationIndicator) override
bool getQueueSize(int *size) override
Definition: SQLiteNotificationsStorage.h:34
bool peek(NotificationIndicator *notificationIndicator) override
bool clearNotificationIndicators() override
static std::unique_ptr< SQLiteNotificationsStorage > create(const avsCommon::utils::configuration::ConfigurationNode &configurationRoot)
SQLiteNotificationsStorage(const std::string &databaseFilePath)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
Definition: SQLiteDatabase.h:36
bool createDatabase() override
IndicatorState
Definition: IndicatorState.h:30
static std::shared_ptr< acsdkNotificationsInterfaces::NotificationsStorageInterface > createNotificationsStorageInterface(const std::shared_ptr< avsCommon::utils::configuration::ConfigurationNode > &configurationRoot)
bool getIndicatorState(IndicatorState *state) override
Definition: NotificationIndicator.h:29