summaryrefslogtreecommitdiff
path: root/test/poi-service
diff options
context:
space:
mode:
authorasanoaozora <fifitaneki@hotmail.com>2017-06-01 15:33:40 +0200
committerasanoaozora <fifitaneki@hotmail.com>2017-06-01 15:33:40 +0200
commit4d4b8c024f5983a0fd72ddf496b38ef4848f4404 (patch)
tree148f5b2da4e0fb9cda495b3623628efeafb39243 /test/poi-service
parentd74c02eaf2edf2a9911e641ab39b57f196c11fdc (diff)
downloadpoi-service-4d4b8c024f5983a0fd72ddf496b38ef4848f4404.tar.gz
GT-3509
wrong naming for some signals in Franca (begin with upper case rather than lower case)
Diffstat (limited to 'test/poi-service')
-rw-r--r--test/poi-service/poi-manager-client/main.cpp34
-rwxr-xr-xtest/poi-service/poi-manager-client/run.sh2
2 files changed, 18 insertions, 18 deletions
diff --git a/test/poi-service/poi-manager-client/main.cpp b/test/poi-service/poi-manager-client/main.cpp
index 1ed3833..6ace120 100644
--- a/test/poi-service/poi-manager-client/main.cpp
+++ b/test/poi-service/poi-manager-client/main.cpp
@@ -64,15 +64,15 @@ public:
void getServerStatus();
- void ConfigurationChanged(const std::vector<POIServiceTypes::Settings> &changedSettings);
+ void configurationChanged(const std::vector<POIServiceTypes::Settings> &changedSettings);
- void CategoriesRemoved(const std::vector< CommonTypes::CategoryID >& categories);
+ void categoriesRemoved(const std::vector< CommonTypes::CategoryID >& categories);
- void POIAdded(const std::vector< POIServiceTypes::POI_ID >& pois);
+ void poiAdded(const std::vector< POIServiceTypes::POI_ID >& pois);
- void POIRemoved(const std::vector< POIServiceTypes::POI_ID >& pois);
+ void poiRemoved(const std::vector< POIServiceTypes::POI_ID >& pois);
- void SearchStatusChanged(const NavigationTypes::Handle &handle, const POIServiceTypes::SearchStatusState &searchStatusState, const std::vector<POIServiceTypes::POI_ID> &pois);
+ void searchStatusChanged(const NavigationTypes::Handle &handle, const POIServiceTypes::SearchStatusState &searchStatusState, const std::vector<POIServiceTypes::POI_ID> &pois);
void connectPopupWindow(GtkWidget *window);
@@ -236,7 +236,7 @@ void contentManager::getServerStatus()
}
-void contentManager::ConfigurationChanged(const std::vector< POIServiceTypes::Settings >& changedSettings)
+void contentManager::configurationChanged(const std::vector< POIServiceTypes::Settings >& changedSettings)
{
size_t index;
@@ -248,7 +248,7 @@ void contentManager::ConfigurationChanged(const std::vector< POIServiceTypes::Se
}
}
-void contentManager::CategoriesRemoved(const std::vector<CommonTypes::CategoryID> &categories)
+void contentManager::categoriesRemoved(const std::vector<CommonTypes::CategoryID> &categories)
{
size_t index;
@@ -264,7 +264,7 @@ void contentManager::CategoriesRemoved(const std::vector<CommonTypes::CategoryID
dumpCategories();
}
-void contentManager::POIAdded(const std::vector<POIServiceTypes::POI_ID> &pois)
+void contentManager::poiAdded(const std::vector<POIServiceTypes::POI_ID> &pois)
{
size_t index;
@@ -276,7 +276,7 @@ void contentManager::POIAdded(const std::vector<POIServiceTypes::POI_ID> &pois)
}
}
-void contentManager::POIRemoved(const std::vector<POIServiceTypes::POI_ID> &pois)
+void contentManager::poiRemoved(const std::vector<POIServiceTypes::POI_ID> &pois)
{
size_t index;
@@ -287,7 +287,7 @@ void contentManager::POIRemoved(const std::vector<POIServiceTypes::POI_ID> &pois
}
-void contentManager::SearchStatusChanged(const NavigationTypes::Handle &handle, const POIServiceTypes::SearchStatusState &searchStatusState, const std::vector<POIServiceTypes::POI_ID> &pois)
+void contentManager::searchStatusChanged(const NavigationTypes::Handle &handle, const POIServiceTypes::SearchStatusState &searchStatusState, const std::vector<POIServiceTypes::POI_ID> &pois)
{
size_t index;
@@ -639,19 +639,19 @@ int main(int argc , char** argv )
// Connect the DBus signals
myProxy->getCategoriesRemovedEvent().subscribe([&](const std::vector<CommonTypes::CategoryID>& categories) {
- clientContentManager->CategoriesRemoved(categories);
+ clientContentManager->categoriesRemoved(categories);
});
myProxy->getConfigurationChangedEvent().subscribe([&](const std::vector< POIServiceTypes::Settings >& changedSettings) {
- clientContentManager->ConfigurationChanged(changedSettings);
+ clientContentManager->configurationChanged(changedSettings);
});
- myProxy->getPOIAddedEvent().subscribe([&](const std::vector< POIServiceTypes::POI_ID >& pois) {
- clientContentManager->POIAdded(pois);
+ myProxy->getPoiAddedEvent().subscribe([&](const std::vector< POIServiceTypes::POI_ID >& pois) {
+ clientContentManager->poiAdded(pois);
});
- myProxy->getPOIRemovedEvent().subscribe([&](const std::vector< POIServiceTypes::POI_ID >& pois) {
- clientContentManager->POIRemoved(pois);
+ myProxy->getPoiRemovedEvent().subscribe([&](const std::vector< POIServiceTypes::POI_ID >& pois) {
+ clientContentManager->poiRemoved(pois);
});
myProxy->getSearchStatusChangedEvent().subscribe([&](const NavigationTypes::Handle handle, const POIServiceTypes::SearchStatusState searchStatusState, const std::vector< POIServiceTypes::POI_ID >& pois ) {
- clientContentManager->SearchStatusChanged(handle,searchStatusState,pois);
+ clientContentManager->searchStatusChanged(handle,searchStatusState,pois);
});
// Send a feedback to the user
diff --git a/test/poi-service/poi-manager-client/run.sh b/test/poi-service/poi-manager-client/run.sh
index f978a93..215647d 100755
--- a/test/poi-service/poi-manager-client/run.sh
+++ b/test/poi-service/poi-manager-client/run.sh
@@ -37,7 +37,7 @@ echo '------------------------start the proof of concept------------------------
cp $RESOURCE/poi-database-managed.db ./bin
COMMONAPI_DEFAULT_CONFIG=$RESOURCE/commonapi4dbus.ini \
COMMONAPI_DBUS_DEFAULT_CONFIG=$RESOURCE/commonapi-dbus.ini \
-$POI_MANAGER_SERVER_BIN_DIR/poi-manager-server -f $POI_MANAGER_SERVER_BIN_DIR/poi-database-managed.db &
+$POI_MANAGER_SERVER_BIN_DIR/poi-manager-server -f $POI_MANAGER_CLIENT_BIN_DIR/poi-database-managed.db &
COMMONAPI_DEFAULT_CONFIG=$RESOURCE/commonapi4dbus.ini \
COMMONAPI_DBUS_DEFAULT_CONFIG=$RESOURCE/commonapi-dbus.ini \
$POI_MANAGER_CLIENT_BIN_DIR/poi-manager-client -t