Merge lp:unity-scopes-api/staging into lp:unity-scopes-api

Proposed by Paweł Stołowski
Status: Merged
Approved by: Pete Woods
Approved revision: 264
Merged at revision: 265
Proposed branch: lp:unity-scopes-api/staging
Merge into: lp:unity-scopes-api
Diff against target: 9715 lines (+2550/-1387)
335 files modified
CMakeLists.txt (+10/-7)
CONFIGFILES (+45/-2)
HACKING (+2/-23)
RELEASE_NOTES.md (+12/-0)
STRUCTS (+3/-0)
debian/changelog (+17/-0)
debian/libunity-scopes3.symbols (+27/-2)
doc/tutorial.dox (+58/-10)
include/unity/scopes/AbstractScopeBase.h (+1/-4)
include/unity/scopes/ActionMetadata.h (+1/-4)
include/unity/scopes/ActivationListenerBase.h (+1/-4)
include/unity/scopes/ActivationQueryBase.h (+1/-4)
include/unity/scopes/ActivationResponse.h (+1/-4)
include/unity/scopes/Annotation.h (+1/-4)
include/unity/scopes/CannedQuery.h (+1/-4)
include/unity/scopes/CategorisedResult.h (+1/-4)
include/unity/scopes/Category.h (+1/-4)
include/unity/scopes/CategoryRenderer.h (+1/-4)
include/unity/scopes/ColumnLayout.h (+1/-4)
include/unity/scopes/CompletionDetails.h (+1/-4)
include/unity/scopes/Department.h (+1/-4)
include/unity/scopes/FilterBase.h (+1/-4)
include/unity/scopes/FilterOption.h (+1/-4)
include/unity/scopes/FilterState.h (+1/-4)
include/unity/scopes/Link.h (+1/-4)
include/unity/scopes/ListenerBase.h (+1/-4)
include/unity/scopes/Location.h (+1/-4)
include/unity/scopes/Object.h (+1/-4)
include/unity/scopes/ObjectProxyFwd.h (+1/-4)
include/unity/scopes/OnlineAccountClient.h (+1/-4)
include/unity/scopes/OperationInfo.h (+1/-4)
include/unity/scopes/OptionSelectorFilter.h (+1/-4)
include/unity/scopes/PreviewListenerBase.h (+1/-4)
include/unity/scopes/PreviewQueryBase.h (+1/-4)
include/unity/scopes/PreviewReply.h (+1/-4)
include/unity/scopes/PreviewReplyProxyFwd.h (+1/-4)
include/unity/scopes/PreviewWidget.h (+1/-4)
include/unity/scopes/QueryBase.h (+1/-4)
include/unity/scopes/QueryCtrl.h (+1/-4)
include/unity/scopes/QueryCtrlProxyFwd.h (+1/-4)
include/unity/scopes/QueryMetadata.h (+1/-4)
include/unity/scopes/RadioButtonsFilter.h (+1/-4)
include/unity/scopes/RangeInputFilter.h (+1/-4)
include/unity/scopes/RatingFilter.h (+1/-4)
include/unity/scopes/Registry.h (+1/-4)
include/unity/scopes/RegistryProxyFwd.h (+1/-4)
include/unity/scopes/Reply.h (+1/-4)
include/unity/scopes/ReplyProxyFwd.h (+1/-4)
include/unity/scopes/Result.h (+1/-4)
include/unity/scopes/Runtime.h (+1/-4)
include/unity/scopes/Scope.h (+1/-4)
include/unity/scopes/ScopeBase.h (+20/-5)
include/unity/scopes/ScopeExceptions.h (+1/-4)
include/unity/scopes/ScopeMetadata.h (+32/-4)
include/unity/scopes/ScopeProxyFwd.h (+1/-4)
include/unity/scopes/SearchListenerBase.h (+1/-4)
include/unity/scopes/SearchMetadata.h (+1/-4)
include/unity/scopes/SearchQueryBase.h (+1/-4)
include/unity/scopes/SearchReply.h (+1/-4)
include/unity/scopes/SearchReplyProxyFwd.h (+1/-4)
include/unity/scopes/SwitchFilter.h (+1/-4)
include/unity/scopes/ValueSliderFilter.h (+1/-4)
include/unity/scopes/Variant.h (+1/-4)
include/unity/scopes/VariantBuilder.h (+1/-4)
include/unity/scopes/Version.h.in (+1/-4)
include/unity/scopes/internal/AbstractObject.h (+1/-4)
include/unity/scopes/internal/ActionMetadataImpl.h (+1/-4)
include/unity/scopes/internal/ActivationQueryBaseImpl.h (+1/-4)
include/unity/scopes/internal/ActivationQueryObject.h (+1/-4)
include/unity/scopes/internal/ActivationReplyObject.h (+1/-4)
include/unity/scopes/internal/ActivationResponseImpl.h (+1/-4)
include/unity/scopes/internal/AnnotationImpl.h (+1/-4)
include/unity/scopes/internal/CannedQueryImpl.h (+1/-4)
include/unity/scopes/internal/CategorisedResultImpl.h (+1/-5)
include/unity/scopes/internal/CategoryImpl.h (+1/-4)
include/unity/scopes/internal/CategoryRegistry.h (+1/-4)
include/unity/scopes/internal/CategoryRendererImpl.h (+1/-4)
include/unity/scopes/internal/ColumnLayoutImpl.h (+1/-4)
include/unity/scopes/internal/CompletionDetailsImpl.h (+1/-4)
include/unity/scopes/internal/ConfigBase.h (+1/-4)
include/unity/scopes/internal/DepartmentImpl.h (+1/-4)
include/unity/scopes/internal/DfltConfig.h.in (+1/-4)
include/unity/scopes/internal/DynamicLoader.h (+1/-4)
include/unity/scopes/internal/Executor.h (+5/-4)
include/unity/scopes/internal/FilterBaseImpl.h (+1/-4)
include/unity/scopes/internal/FilterOptionImpl.h (+1/-4)
include/unity/scopes/internal/FilterStateImpl.h (+1/-4)
include/unity/scopes/internal/IniSettingsSchema.h (+1/-4)
include/unity/scopes/internal/InvokeInfo.h (+1/-4)
include/unity/scopes/internal/JsonCppNode.h (+1/-4)
include/unity/scopes/internal/JsonNodeInterface.h (+1/-4)
include/unity/scopes/internal/JsonSettingsSchema.h (+1/-4)
include/unity/scopes/internal/LinkImpl.h (+1/-4)
include/unity/scopes/internal/LocationImpl.h (+1/-5)
include/unity/scopes/internal/MWObjectProxy.h (+1/-4)
include/unity/scopes/internal/MWObjectProxyFwd.h (+1/-4)
include/unity/scopes/internal/MWPublisher.h (+1/-4)
include/unity/scopes/internal/MWQuery.h (+1/-4)
include/unity/scopes/internal/MWQueryCtrl.h (+1/-4)
include/unity/scopes/internal/MWQueryCtrlProxyFwd.h (+1/-4)
include/unity/scopes/internal/MWQueryProxyFwd.h (+1/-4)
include/unity/scopes/internal/MWRegistry.h (+1/-4)
include/unity/scopes/internal/MWRegistryProxyFwd.h (+1/-4)
include/unity/scopes/internal/MWReply.h (+1/-4)
include/unity/scopes/internal/MWReplyProxyFwd.h (+1/-4)
include/unity/scopes/internal/MWScope.h (+1/-4)
include/unity/scopes/internal/MWScopeProxyFwd.h (+1/-4)
include/unity/scopes/internal/MWStateReceiver.h (+1/-4)
include/unity/scopes/internal/MWStateReceiverProxyFwd.h (+1/-4)
include/unity/scopes/internal/MWSubscriber.h (+1/-4)
include/unity/scopes/internal/MiddlewareBase.h (+1/-4)
include/unity/scopes/internal/MiddlewareFactory.h (+1/-4)
include/unity/scopes/internal/ObjectImpl.h (+1/-4)
include/unity/scopes/internal/OnlineAccountClientImpl.h (+1/-4)
include/unity/scopes/internal/OperationInfoImpl.h (+1/-4)
include/unity/scopes/internal/OptionSelectorFilterImpl.h (+1/-4)
include/unity/scopes/internal/PreviewQueryBaseImpl.h (+1/-4)
include/unity/scopes/internal/PreviewQueryObject.h (+1/-4)
include/unity/scopes/internal/PreviewReplyImpl.h (+1/-4)
include/unity/scopes/internal/PreviewReplyObject.h (+1/-4)
include/unity/scopes/internal/PreviewWidgetImpl.h (+1/-4)
include/unity/scopes/internal/QueryBaseImpl.h (+1/-4)
include/unity/scopes/internal/QueryCtrlImpl.h (+1/-4)
include/unity/scopes/internal/QueryCtrlObject.h (+1/-4)
include/unity/scopes/internal/QueryCtrlObjectBase.h (+1/-4)
include/unity/scopes/internal/QueryMetadataImpl.h (+1/-4)
include/unity/scopes/internal/QueryObject.h (+1/-4)
include/unity/scopes/internal/QueryObjectBase.h (+1/-4)
include/unity/scopes/internal/RadioButtonsFilterImpl.h (+1/-4)
include/unity/scopes/internal/RangeInputFilterImpl.h (+1/-4)
include/unity/scopes/internal/RatingFilterImpl.h (+1/-4)
include/unity/scopes/internal/Reaper.h (+1/-4)
include/unity/scopes/internal/RegistryConfig.h (+1/-4)
include/unity/scopes/internal/RegistryException.h (+1/-4)
include/unity/scopes/internal/RegistryImpl.h (+1/-4)
include/unity/scopes/internal/RegistryObject.h (+1/-4)
include/unity/scopes/internal/RegistryObjectBase.h (+1/-4)
include/unity/scopes/internal/ReplyImpl.h (+1/-4)
include/unity/scopes/internal/ReplyObject.h (+1/-4)
include/unity/scopes/internal/ReplyObjectBase.h (+1/-4)
include/unity/scopes/internal/ResultImpl.h (+1/-5)
include/unity/scopes/internal/ResultReplyObject.h (+1/-4)
include/unity/scopes/internal/RuntimeConfig.h (+7/-7)
include/unity/scopes/internal/RuntimeImpl.h (+4/-5)
include/unity/scopes/internal/ScopeBaseImpl.h (+7/-4)
include/unity/scopes/internal/ScopeConfig.h (+7/-4)
include/unity/scopes/internal/ScopeImpl.h (+1/-4)
include/unity/scopes/internal/ScopeLoader.h (+1/-4)
include/unity/scopes/internal/ScopeMetadataImpl.h (+10/-5)
include/unity/scopes/internal/ScopeObject.h (+1/-4)
include/unity/scopes/internal/ScopeObjectBase.h (+1/-4)
include/unity/scopes/internal/SearchMetadataImpl.h (+1/-4)
include/unity/scopes/internal/SearchQueryBaseImpl.h (+1/-4)
include/unity/scopes/internal/SearchReplyImpl.h (+1/-4)
include/unity/scopes/internal/SettingsDB.h (+1/-4)
include/unity/scopes/internal/SettingsSchema.h (+4/-4)
include/unity/scopes/internal/StateReceiverObject.h (+1/-4)
include/unity/scopes/internal/SwitchFilterImpl.h (+1/-4)
include/unity/scopes/internal/TaskWrapper.h (+1/-4)
include/unity/scopes/internal/ThreadPool.h (+1/-4)
include/unity/scopes/internal/ThreadSafeQueue.h (+1/-4)
include/unity/scopes/internal/UniqueID.h (+1/-4)
include/unity/scopes/internal/Utils.h (+1/-4)
include/unity/scopes/internal/ValueSliderFilterImpl.h (+1/-4)
include/unity/scopes/internal/VariantBuilderImpl.h (+1/-4)
include/unity/scopes/internal/lttng/SimpleTracepoint.h (+1/-4)
include/unity/scopes/internal/safe_strerror.h (+38/-0)
include/unity/scopes/internal/smartscopes/HttpClientInterface.h (+1/-4)
include/unity/scopes/internal/smartscopes/HttpClientQt.h (+1/-4)
include/unity/scopes/internal/smartscopes/HttpClientQtThread.h (+1/-4)
include/unity/scopes/internal/smartscopes/SSConfig.h (+1/-4)
include/unity/scopes/internal/smartscopes/SSQueryCtrlObject.h (+1/-4)
include/unity/scopes/internal/smartscopes/SSQueryObject.h (+1/-4)
include/unity/scopes/internal/smartscopes/SSRegistryObject.h (+1/-4)
include/unity/scopes/internal/smartscopes/SSScopeObject.h (+1/-4)
include/unity/scopes/internal/smartscopes/SmartScopesClient.h (+14/-5)
include/unity/scopes/internal/zmq_middleware/ConnectionPool.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/Current.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ObjectAdapter.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/QueryCtrlI.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/QueryI.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/RegistryI.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ReplyI.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/RequestMode.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/RethrowException.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ScopeI.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ServantBase.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/StateReceiverI.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/StopPublisher.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/Util.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/VariantConverter.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqConfig.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqException.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqMiddleware.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqObjectProxyFwd.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqPublisher.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqQuery.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqQueryCtrl.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqQueryCtrlProxyFwd.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqQueryProxyFwd.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqReceiver.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqRegistry.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqRegistryProxyFwd.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqReply.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqReplyProxyFwd.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqScope.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqScopeProxyFwd.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqSender.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqStateReceiver.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqStateReceiverProxyFwd.h (+1/-4)
include/unity/scopes/internal/zmq_middleware/ZmqSubscriber.h (+1/-4)
include/unity/scopes/testing/Benchmark.h (+1/-4)
include/unity/scopes/testing/Category.h (+1/-4)
include/unity/scopes/testing/InProcessBenchmark.h (+1/-4)
include/unity/scopes/testing/MockObject.h (+1/-4)
include/unity/scopes/testing/MockPreviewReply.h (+1/-4)
include/unity/scopes/testing/MockQueryCtrl.h (+1/-4)
include/unity/scopes/testing/MockRegistry.h (+1/-4)
include/unity/scopes/testing/MockScope.h (+1/-4)
include/unity/scopes/testing/MockSearchReply.h (+1/-4)
include/unity/scopes/testing/OutOfProcessBenchmark.h (+1/-4)
include/unity/scopes/testing/Result.h (+1/-4)
include/unity/scopes/testing/ScopeMetadataBuilder.h (+6/-5)
include/unity/scopes/testing/Statistics.h (+1/-4)
include/unity/scopes/testing/TypedScopeFixture.h (+26/-7)
scoperegistry/DirWatcher.cpp (+13/-5)
scoperegistry/DirWatcher.h (+1/-4)
scoperegistry/FindFiles.cpp (+21/-10)
scoperegistry/FindFiles.h (+1/-4)
scoperegistry/ScopesWatcher.cpp (+69/-54)
scoperegistry/ScopesWatcher.h (+1/-4)
scoperegistry/scoperegistry.cpp (+17/-8)
src/scopes/ScopeBase.cpp (+5/-0)
src/scopes/ScopeMetadata.cpp (+15/-0)
src/scopes/internal/CMakeLists.txt (+1/-0)
src/scopes/internal/IniSettingsSchema.cpp (+8/-0)
src/scopes/internal/JsonSettingsSchema.cpp (+13/-5)
src/scopes/internal/RuntimeConfig.cpp (+56/-27)
src/scopes/internal/RuntimeImpl.cpp (+22/-12)
src/scopes/internal/ScopeBaseImpl.cpp (+22/-0)
src/scopes/internal/ScopeConfig.cpp (+66/-1)
src/scopes/internal/ScopeMetadataImpl.cpp (+95/-1)
src/scopes/internal/Utils.cpp (+2/-1)
src/scopes/internal/safe_strerror.cpp (+72/-0)
src/scopes/internal/smartscopes/SSRegistryObject.cpp (+4/-0)
src/scopes/internal/smartscopes/SmartScope.cpp (+7/-3)
src/scopes/internal/smartscopes/SmartScopesClient.cpp (+47/-5)
src/scopes/internal/zmq_middleware/ObjectAdapter.cpp (+2/-2)
src/scopes/internal/zmq_middleware/Util.cpp (+3/-1)
src/scopes/internal/zmq_middleware/ZmqObject.cpp (+7/-5)
src/scopes/internal/zmq_middleware/ZmqQuery.cpp (+1/-1)
src/scopes/internal/zmq_middleware/ZmqQueryCtrl.cpp (+2/-2)
src/scopes/internal/zmq_middleware/ZmqRegistry.cpp (+4/-3)
src/scopes/internal/zmq_middleware/ZmqReply.cpp (+3/-3)
src/scopes/internal/zmq_middleware/ZmqScope.cpp (+0/-1)
src/scopes/internal/zmq_middleware/ZmqSender.cpp (+9/-2)
src/scopes/internal/zmq_middleware/ZmqStateReceiver.cpp (+1/-1)
src/scopes/testing/ScopeMetadataBuilder.cpp (+45/-0)
src/scopes/testing/TypedScopeFixture.cpp (+21/-4)
test/gtest/scopes/Activation/TestScope.h (+2/-5)
test/gtest/scopes/CMakeLists.txt (+4/-0)
test/gtest/scopes/Filters/TestScope.h (+2/-5)
test/gtest/scopes/IdleShutdown/SlowSearchScope.h (+1/-4)
test/gtest/scopes/Invocation/DebugTestScope.h (+1/-4)
test/gtest/scopes/Invocation/EmptyScope.h (+1/-4)
test/gtest/scopes/Invocation/Invocation_test.cpp (+6/-1)
test/gtest/scopes/Invocation/TestScope.h (+1/-4)
test/gtest/scopes/Registry/Registry_test.cpp (+68/-34)
test/gtest/scopes/Registry/scopes/testscopeA/testscopeA.ini.in (+3/-0)
test/gtest/scopes/ReplyReaper/NoReplyScope.h (+1/-4)
test/gtest/scopes/ReplyReaper/ReplyReaper_test.cpp (+45/-32)
test/gtest/scopes/Runtime/PusherScope.h (+1/-4)
test/gtest/scopes/Runtime/SlowCreateScope.h (+1/-4)
test/gtest/scopes/Runtime/TestScope.h (+1/-4)
test/gtest/scopes/internal/CMakeLists.txt (+1/-0)
test/gtest/scopes/internal/DynamicLoader/TestExports.h (+1/-4)
test/gtest/scopes/internal/JsonSettingsSchema/JsonSettingsSchema_test.cpp (+3/-3)
test/gtest/scopes/internal/Reaper/Reaper_test.cpp (+39/-38)
test/gtest/scopes/internal/RuntimeConfig/CacheDir.ini (+3/-2)
test/gtest/scopes/internal/RuntimeConfig/ConfigDir.ini (+3/-2)
test/gtest/scopes/internal/RuntimeConfig/NoAppDir.ini (+2/-0)
test/gtest/scopes/internal/RuntimeConfig/NoCacheDir.ini (+1/-1)
test/gtest/scopes/internal/RuntimeConfig/NoConfigDir.ini (+2/-1)
test/gtest/scopes/internal/RuntimeConfig/RuntimeConfig_test.cpp (+41/-25)
test/gtest/scopes/internal/RuntimeImpl/Runtime.ini.in (+3/-2)
test/gtest/scopes/internal/RuntimeImpl/RuntimeImpl_test.cpp (+4/-2)
test/gtest/scopes/internal/RuntimeImpl/TestScope.h (+1/-4)
test/gtest/scopes/internal/ScopeConfig/CMakeLists.txt (+14/-0)
test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp (+78/-0)
test/gtest/scopes/internal/ScopeConfig/bad_child_ids.ini.in (+5/-0)
test/gtest/scopes/internal/ScopeConfig/bad_tags.ini.in (+5/-0)
test/gtest/scopes/internal/ScopeConfig/bad_version.ini.in (+6/-0)
test/gtest/scopes/internal/ScopeConfig/complete_config.ini.in (+3/-0)
test/gtest/scopes/internal/ScopeConfig/empty_child_ids.ini.in (+5/-0)
test/gtest/scopes/internal/ScopeConfig/empty_tags.ini.in (+5/-0)
test/gtest/scopes/internal/ScopeConfig/single_child_id.ini.in (+5/-0)
test/gtest/scopes/internal/ScopeConfig/single_tag.ini.in (+5/-0)
test/gtest/scopes/internal/ScopeLoader/Counters.h (+1/-4)
test/gtest/scopes/internal/ScopeLoader/MyScope.h (+1/-4)
test/gtest/scopes/internal/ScopeLoader/PerScopeVariables.h (+1/-4)
test/gtest/scopes/internal/ScopeLoader/TestExports.h (+1/-4)
test/gtest/scopes/internal/ScopeMetadataImpl/ScopeMetadataImpl_test.cpp (+56/-1)
test/gtest/scopes/internal/SettingsDB/SettingsDB_test.cpp (+19/-0)
test/gtest/scopes/internal/SettingsDB/chinese_schema.ini (+4/-0)
test/gtest/scopes/internal/SettingsDB/db_chinese_location.ini (+2/-0)
test/gtest/scopes/internal/safe_strerror/CMakeLists.txt (+4/-0)
test/gtest/scopes/internal/safe_strerror/safe_strerror_test.cpp (+29/-0)
test/gtest/scopes/internal/smartscopes/RaiiServer.h (+1/-4)
test/gtest/scopes/internal/smartscopes/SmartScopesClient/FakeSss.py (+5/-3)
test/gtest/scopes/internal/smartscopes/SmartScopesClient/SmartScopesClient_test.cpp (+11/-2)
test/gtest/scopes/internal/smartscopes/smartscopesproxy/smartscopesproxy_test.cpp (+63/-54)
test/gtest/scopes/stress/CMakeLists.txt (+17/-0)
test/gtest/scopes/stress/Registry.ini.in (+7/-0)
test/gtest/scopes/stress/Runtime.ini.in (+6/-0)
test/gtest/scopes/stress/Zmq.ini.in (+3/-0)
test/gtest/scopes/stress/scopes-stress.cpp (+167/-0)
test/gtest/scopes/stress/scopes/CMakeLists.txt (+3/-0)
test/gtest/scopes/stress/scopes/scope1/CMakeLists.txt (+12/-0)
test/gtest/scopes/stress/scopes/scope1/scope1.cpp (+117/-0)
test/gtest/scopes/stress/scopes/scope1/scope1.ini.in (+8/-0)
test/gtest/scopes/stress/scopes/scope1/scope1.map.in (+9/-0)
test/gtest/scopes/stress/scopes/scope2/CMakeLists.txt (+12/-0)
test/gtest/scopes/stress/scopes/scope2/scope2.cpp (+117/-0)
test/gtest/scopes/stress/scopes/scope2/scope2.ini.in (+8/-0)
test/gtest/scopes/stress/scopes/scope2/scope2.map.in (+9/-0)
test/gtest/scopes/stress/scopes/scope3/CMakeLists.txt (+12/-0)
test/gtest/scopes/stress/scopes/scope3/scope3.cpp (+117/-0)
test/gtest/scopes/stress/scopes/scope3/scope3.ini.in (+8/-0)
test/gtest/scopes/stress/scopes/scope3/scope3.map.in (+9/-0)
test/gtest/scopes/testing/IsolatedScope/IsolatedScope_test.cpp (+16/-1)
test/gtest/scopes/testing/IsolatedScopeBenchmark/config.h.in (+2/-4)
test/gtest/scopes/testing/Statistics/config.h.in (+1/-4)
tools/symbol_diff.in (+103/-10)
unity-scopes.map (+1/-0)
To merge this branch: bzr merge lp:unity-scopes-api/staging
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Needs Fixing
Pete Woods (community) Approve
Review via email: mp+242471@code.launchpad.net

Commit message

Merge devel changes:
* Added support for ChildScopes scope .ini option.
* Added app_directory() method to ScopeBase.
* Added support for Version attribute in scope.ini file, and added
  version() accessor to ScopeMetadata.
* Added missing methods for settings_definitions(), location_data_needed(),
  and child_scope_ids() to testing::ScopeMetadataBuilder.
* Simplified header guards with pragma once.
* Various other fixes and internal improvements.
* Added support for Tags scope .ini option.

Description of the change

Merge devel changes:
* Added support for ChildScopes scope .ini option.
* Added app_directory() method to ScopeBase.
* Added support for Version attribute in scope.ini file, and added
  version() accessor to ScopeMetadata.
* Added missing methods for settings_definitions(), location_data_needed(),
  and child_scope_ids() to testing::ScopeMetadataBuilder.
* Simplified header guards with pragma once.
* Various other fixes and internal improvements.

To post a comment you must log in.
Revision history for this message
Pete Woods (pete-woods) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
lp:unity-scopes-api/staging updated
265. By Paweł Stołowski

Merged devel.

266. By Paweł Stołowski

Fixed duplicated changelog entry.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2014-10-22 15:46:36 +0000
3+++ CMakeLists.txt 2014-11-28 11:54:53 +0000
4@@ -69,6 +69,7 @@
5 pkg_check_modules(JSONCPP jsoncpp REQUIRED)
6 pkg_check_modules(LIBACCOUNTS REQUIRED libaccounts-glib)
7 pkg_check_modules(LIBSIGNON REQUIRED libsignon-glib)
8+pkg_check_modules(ZMQLIB libzmq REQUIRED)
9
10 find_program(LTTNG_EXECUTABLE lttng)
11 if (NOT LTTNG_EXECUTABLE)
12@@ -195,17 +196,12 @@
13 # API version
14 set(UNITY_SCOPES_MAJOR 0)
15 set(UNITY_SCOPES_MINOR 6)
16-set(UNITY_SCOPES_MICRO 8)
17+set(UNITY_SCOPES_MICRO 9)
18 set(UNITY_SCOPES_SOVERSION 3)
19
20 # Version for testing, with all symbols visible
21 set(UNITY_SCOPES_TEST_LIB ${UNITY_SCOPES_LIB}-test)
22
23-find_library(ZMQLIB zmq)
24-if(NOT ZMQLIB)
25- message(FATAL_ERROR "Zmq lib not found.")
26-endif()
27-
28 find_library(ZMQPPLIB zmqpp)
29 if(NOT ZMQPPLIB)
30 message(FATAL_ERROR "Zmqpp lib not found.")
31@@ -227,6 +223,13 @@
32 endif()
33
34
35+# Stop complaints during the generation phase about executables depending
36+# on Qt5::Core and Qt5::Network. They are bogus because only
37+# only smartscopes uses these.
38+if(POLICY CMP0028)
39+ cmake_policy(SET CMP0028 OLD)
40+endif()
41+
42 # Other libraries we depend on
43 set(OTHER_LIBS
44 ${OTHER_LIBS}
45@@ -234,7 +237,7 @@
46 ${JSONCPP_LDFLAGS}
47 ${PROCESS_CPP_LDFLAGS}
48 ${ZMQPPLIB}
49- ${ZMQLIB}
50+ ${ZMQLIB_LDFLAGS}
51 ${CAPNPLIB}
52 ${KJLIB}
53 ${DLLIB}
54
55=== modified file 'CONFIGFILES'
56--- CONFIGFILES 2014-10-10 07:01:36 +0000
57+++ CONFIGFILES 2014-11-28 11:54:53 +0000
58@@ -92,9 +92,9 @@
59 config group, otherwise the middleware can prematurely conclude that
60 a locate() request failed to start a scope.
61
62-- DataDir
63+- CacheDir
64
65- The parent directory under which the run time writes scope-specific data files
66+ The parent directory under which a scope can write scope-specific data files
67 (such as caches).
68
69 The default value is $HOME/.local/share/unity-scopes.
70@@ -105,6 +105,22 @@
71 $HOME/.local/share/unity-scopes/leaf-net/<scope_id>/some_file (for confined scopes)
72 and $HOME/.local/share/unity-scopes/unconfined/<scope_id>/some_file (for unconfined scopes).
73
74+- AppDir
75+
76+ The parent directory under which a scope can read data provided by an
77+ app that was installed from the same click package.
78+
79+ The default value is $HOME/.local/share.
80+
81+ Note that the actual directory is a subdirectory of
82+ this directory, for example:
83+
84+ $HOME/.local/share/<app-pkgname>
85+
86+ The app has read/write permission for this directory and the files in it,
87+ the scope has read-only permission, so communication is from the app to
88+ the scope, not vice versa.
89+
90 - ConfigDir
91
92 The parent directory under which the runtime writes the scope configration files.
93@@ -116,6 +132,7 @@
94
95 $HOME/.config/unity-scopes/<scope_id>/settings.ini
96
97+
98 Zmq.ini
99 -------
100
101@@ -311,6 +328,15 @@
102
103 The author of the scope (mandatory).
104
105+- Version
106+
107+ A integer describing the scope version. The setting is optional, but we strongly
108+ recommend to set it. If the behavior of your scope changes in any way that is
109+ visible to the query source (such having added or removed a result attribute),
110+ you should increment the version number. This allows an aggregating scope to
111+ adjust its behavior according to which version of your scope is installed.
112+ If not set, the default value is 0. You can set the value to any integer >= 1.
113+
114 - Art
115
116 Artwork to be shown for the scope. The default value is the empty string.
117@@ -327,6 +353,15 @@
118
119 The hot key for the scope. The default value is the empty string.
120
121+- ChildScopes
122+
123+ The list of ids of scopes aggregated by this scope (if any). The values in this list
124+ must be separated by semicolons. This list is translated to the names of
125+ children scopes when in the scopes overview page of the Unity Dash.
126+
127+ Note: make sure there are no trailing spaces following
128+ the ids, as they will be preserved.
129+
130 - Invisible
131
132 Whether the scope is hidden in the UI. The default value is false.
133@@ -368,6 +403,14 @@
134
135 If not set, the default value is false.
136
137+- Tags
138+
139+ A list of tags this scope falls under (if any). The values in this list must be separated by semicolons.
140+
141+ E.g. "Tags = music;video"
142+
143+ Note: make sure there are no trailing spaces following the tags, as they will be preserved.
144+
145
146 The following keys are recognized in the Appearance group:
147
148
149=== modified file 'HACKING'
150--- HACKING 2014-10-07 07:20:54 +0000
151+++ HACKING 2014-11-28 11:54:53 +0000
152@@ -143,7 +143,7 @@
153 ---------------------
154
155 To easily spot new/removed/changed symbols in the library, the debian
156-package is maintaining a .symbols file which lists all exported symbols
157+package maintains a .symbols file that lists all exported symbols
158 present in the library .so. If you add new public symbols to the library,
159 it's necessary to refresh the symbols file, otherwise the package will
160 fail to build. The easiest way to do that is using bzr-builddeb:
161@@ -156,28 +156,7 @@
162 This creates a diff of the symbols in /tmp/symbols.diff.
163 (The demangled symbols from the debian build are in ./new_symbols.)
164
165-NOTE: We currently have one architecture-specific symbol:
166-
167-(c++|arch=amd64)"unity::scopes::internal::RegistryObject::ScopeExecData::ScopeExecData(unity::scopes::internal::RegistryObject::ScopeExecData const&)@Base" 0.6.6+14.10.20140916
168-
169-We need this because the copy-constructor is inlined on i386 and armhf.
170-
171-The above script can't cope with the arch tag at the moment. Until we get
172-around to fixing this, you need to delete the corresponding change from
173-the diff output before applying the diff as a patch. The offending diff
174-will look something like this:
175-
176-@@ -377,7 +378,7 @@
177- (c++)"unity::scopes::internal::RegistryObject::remove_desktop_file(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.6.6+14.10.20140916
178- (c++)"unity::scopes::internal::RegistryObject::remove_local_scope(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
179- (c++)"unity::scopes::internal::RegistryObject::ScopeExecData::~ScopeExecData()@Base" 0.4.2+14.04.20140404.2
180-- (c++|arch=amd64)"unity::scopes::internal::RegistryObject::ScopeExecData::ScopeExecData(unity::scopes::internal::RegistryObject::ScopeExecData const&)@Base" 0.6.6+14.10.20140916
181-+ (c++)"unity::scopes::internal::RegistryObject::ScopeExecData::ScopeExecData(unity::scopes::internal::RegistryObject::ScopeExecData const&)@Base" 0replaceme
182- (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::clear_handle_unlocked()@Base" 0.4.2+14.04.20140404.2
183- (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::exec(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor>)@Base" 0.4.3+14.10.20140428
184- (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::expand_custom_exec()@Base" 0.5.0+14.10.20140619
185-
186-Review any other changes in /tmp/symbols.diff. If they are OK:
187+Review any changes in /tmp/symbols.diff. If they are OK:
188
189 $ cd -
190 $ patch -p0 < /tmp/symbols.diff
191
192=== modified file 'RELEASE_NOTES.md'
193--- RELEASE_NOTES.md 2014-10-22 15:46:36 +0000
194+++ RELEASE_NOTES.md 2014-11-28 11:54:53 +0000
195@@ -1,6 +1,18 @@
196 Release notes
197 =============
198
199+Changes in version 0.6.9
200+========================
201+ - Added support for ChildScopes scope .ini option to list scopes ids of aggregated scopes.
202+ - Added support for Version attribute in scope.ini file, and added version() accessor
203+ to ScopeMetadata.
204+ - Added app_directory() method ScopeBase for scopes that are installed from the same
205+ click package as an app. This allows the app to share data with its scope (but
206+ not vice versa).
207+ - Added missing methods for settings_definitions(), location_data_needed(),
208+ and child_scope_ids() to testing::ScopeMetadataBuilder.
209+ - Added support for Tags scope .ini option.
210+
211 Changes in version 0.6.8
212 ========================
213 - Replaced dbus-send with "list updated" pub/sub to invalidate smart scopes.
214
215=== modified file 'STRUCTS'
216--- STRUCTS 2014-09-25 08:33:58 +0000
217+++ STRUCTS 2014-11-28 11:54:53 +0000
218@@ -77,6 +77,9 @@
219 'results_ttl_type' : int, optional
220 'settings_definitions' : dictionary, optional
221 'location_data_needed' : bool, optional
222+ 'child_scopes' : array of strings, optional
223+ 'version' : int, optional
224+ 'tags' : array of strings, optional
225
226 Query (returned by serialize())
227 ===============================
228
229=== modified file 'debian/changelog'
230--- debian/changelog 2014-11-19 08:16:39 +0000
231+++ debian/changelog 2014-11-28 11:54:53 +0000
232@@ -1,3 +1,20 @@
233+unity-scopes-api (0.6.9-0ubuntu1) UNRELEASED; urgency=medium
234+
235+ [ Pawel Stolowski ]
236+ * Added support for ChildScopes scope .ini option.
237+
238+ [ Michi Henning ]
239+ * Added app_directory() method to ScopeBase.
240+ * Added support for Version attribute in scope.ini file, and added
241+ version() accessor to ScopeMetadata.
242+ * Added missing methods for settings_definitions(), location_data_needed(),
243+ and child_scope_ids() to testing::ScopeMetadataBuilder.
244+
245+ [ Marcus Tomlinson ]
246+ * Added support for Tags scope .ini option.
247+
248+ -- Marcus Tomlinson <marcus.tomlinson@canonical.com> Wed, 26 Nov 2014 09:36:56 +0200
249+
250 unity-scopes-api (0.6.8+15.04.20141119-0ubuntu1) vivid; urgency=medium
251
252 [ Marcus Tomlinson ]
253
254=== modified file 'debian/libunity-scopes3.symbols'
255--- debian/libunity-scopes3.symbols 2014-11-19 08:16:37 +0000
256+++ debian/libunity-scopes3.symbols 2014-11-28 11:54:53 +0000
257@@ -396,10 +396,12 @@
258 (c++)"unity::scopes::internal::RegistryObject::set_remote_registry(std::shared_ptr<unity::scopes::internal::MWRegistry> const&)@Base" 0.4.0+14.04.20140312.1
259 (c++)"unity::scopes::internal::RegistryObject::ss_list_update()@Base" 0.6.8+15.04.20141119
260 (c++)"unity::scopes::internal::RegistryObject::state_receiver()@Base" 0.4.2+14.04.20140404.2
261+ (c++)"unity::scopes::internal::RuntimeConfig::app_directory() const@Base" 0replaceme
262+ (c++)"unity::scopes::internal::RuntimeConfig::cache_directory() const@Base" 0replaceme
263 (c++)"unity::scopes::internal::RuntimeConfig::config_directory() const@Base" 0.6.2+rtm+rtm+rtm+14.09.20140818
264- (c++)"unity::scopes::internal::RuntimeConfig::data_directory() const@Base" 0.5.2+14.10.20140709.2
265+ (c++)"unity::scopes::internal::RuntimeConfig::default_app_directory()@Base" 0replaceme
266+ (c++)"unity::scopes::internal::RuntimeConfig::default_cache_directory()@Base" 0replaceme
267 (c++)"unity::scopes::internal::RuntimeConfig::default_config_directory()@Base" 0.6.2+rtm+rtm+rtm+14.09.20140818
268- (c++)"unity::scopes::internal::RuntimeConfig::default_data_directory()@Base" 0.5.2+14.10.20140709.2
269 (c++)"unity::scopes::internal::RuntimeConfig::default_middleware_configfile() const@Base" 0.4.2+14.04.20140404.2
270 (c++)"unity::scopes::internal::RuntimeConfig::default_middleware() const@Base" 0.4.2+14.04.20140404.2
271 (c++)"unity::scopes::internal::RuntimeConfig::reap_expiry() const@Base" 0.4.5+14.10.20140513
272@@ -417,6 +419,7 @@
273 (c++)"unity::scopes::internal::RuntimeImpl::demangled_id() const@Base" 0.6.8+15.04.20141119
274 (c++)"unity::scopes::internal::RuntimeImpl::destroy()@Base" 0.4.0+14.04.20140312.1
275 (c++)"unity::scopes::internal::RuntimeImpl::factory() const@Base" 0.4.0+14.04.20140312.1
276+ (c++)"unity::scopes::internal::RuntimeImpl::find_app_dir() const@Base" 0replaceme
277 (c++)"unity::scopes::internal::RuntimeImpl::find_cache_dir() const@Base" 0.6.8+15.04.20141119
278 (c++)"unity::scopes::internal::RuntimeImpl::find_tmp_dir() const@Base" 0.6.8+15.04.20141119
279 (c++)"unity::scopes::internal::RuntimeImpl::future_queue() const@Base" 0.4.3+14.10.20140428
280@@ -434,9 +437,11 @@
281 (c++)"unity::scopes::internal::RuntimeImpl::ss_registry_identity() const@Base" 0.4.4+14.10.20140508
282 (c++)"unity::scopes::internal::RuntimeImpl::string_to_proxy(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1
283 (c++)"unity::scopes::internal::RuntimeImpl::waiter_thread(std::shared_ptr<unity::scopes::internal::ThreadSafeQueue<std::future<void> > > const&) const@Base" 0.4.3+14.10.20140428
284+ (c++)"unity::scopes::internal::safe_strerror(int)@Base" 0replaceme
285 (c++)"unity::scopes::internal::ScopeConfig::appearance_attributes() const@Base" 0.4.2+14.04.20140404.2
286 (c++)"unity::scopes::internal::ScopeConfig::art() const@Base" 0.4.0+14.04.20140312.1
287 (c++)"unity::scopes::internal::ScopeConfig::author() const@Base" 0.4.0+14.04.20140312.1
288+ (c++)"unity::scopes::internal::ScopeConfig::child_scope_ids() const@Base" 0replaceme
289 (c++)"unity::scopes::internal::ScopeConfig::debug_mode() const@Base" 0.6.2+rtm+rtm+rtm+14.09.20140818
290 (c++)"unity::scopes::internal::ScopeConfig::description() const@Base" 0.4.0+14.04.20140312.1
291 (c++)"unity::scopes::internal::ScopeConfig::display_name() const@Base" 0.4.0+14.04.20140312.1
292@@ -452,6 +457,8 @@
293 (c++)"unity::scopes::internal::ScopeConfig::ScopeConfig(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
294 (c++)"unity::scopes::internal::ScopeConfig::scope_runner() const@Base" 0.4.2+14.04.20140404.2
295 (c++)"unity::scopes::internal::ScopeConfig::search_hint() const@Base" 0.4.0+14.04.20140312.1
296+ (c++)"unity::scopes::internal::ScopeConfig::tags() const@Base" 0replaceme
297+ (c++)"unity::scopes::internal::ScopeConfig::version() const@Base" 0replaceme
298 (c++)"unity::scopes::internal::ScopeImpl::activate(unity::scopes::Result const&, unity::scopes::ActionMetadata const&, std::shared_ptr<unity::scopes::ActivationListenerBase> const&)@Base" 0.4.0+14.04.20140312.1
299 (c++)"unity::scopes::internal::ScopeImpl::create(std::shared_ptr<unity::scopes::internal::MWScope> const&, unity::scopes::internal::RuntimeImpl*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
300 (c++)"unity::scopes::internal::ScopeImpl::fwd()@Base" 0.4.3+14.10.20140428
301@@ -475,6 +482,7 @@
302 (c++)"unity::scopes::internal::ScopeMetadataImpl::appearance_attributes() const@Base" 0.4.2+14.04.20140404.2
303 (c++)"unity::scopes::internal::ScopeMetadataImpl::art() const@Base" 0.4.0+14.04.20140312.1
304 (c++)"unity::scopes::internal::ScopeMetadataImpl::author() const@Base" 0.4.0+14.04.20140312.1
305+ (c++)"unity::scopes::internal::ScopeMetadataImpl::child_scope_ids() const@Base" 0replaceme
306 (c++)"unity::scopes::internal::ScopeMetadataImpl::create(std::unique_ptr<unity::scopes::internal::ScopeMetadataImpl, std::default_delete<unity::scopes::internal::ScopeMetadataImpl> >)@Base" 0.4.0+14.04.20140312.1
307 (c++)"unity::scopes::internal::ScopeMetadataImpl::description() const@Base" 0.4.0+14.04.20140312.1
308 (c++)"unity::scopes::internal::ScopeMetadataImpl::deserialize(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unity::scopes::Variant, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unity::scopes::Variant> > > const&)@Base" 0.4.0+14.04.20140312.1
309@@ -496,6 +504,7 @@
310 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_appearance_attributes(std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unity::scopes::Variant, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unity::scopes::Variant> > > const&)@Base" 0.4.2+14.04.20140404.2
311 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_art(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
312 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_author(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
313+ (c++)"unity::scopes::internal::ScopeMetadataImpl::set_child_scope_ids(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)@Base" 0replaceme
314 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
315 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_display_name(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
316 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_hot_key(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
317@@ -508,7 +517,11 @@
318 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_scope_id(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
319 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_search_hint(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
320 (c++)"unity::scopes::internal::ScopeMetadataImpl::set_settings_definitions(std::vector<unity::scopes::Variant, std::allocator<unity::scopes::Variant> > const&)@Base" 0.5.2+14.10.20140709.2
321+ (c++)"unity::scopes::internal::ScopeMetadataImpl::set_tags(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)@Base" 0replaceme
322 (c++)"unity::scopes::internal::ScopeMetadataImpl::settings_definitions() const@Base" 0.5.2+14.10.20140709.2
323+ (c++)"unity::scopes::internal::ScopeMetadataImpl::set_version(int)@Base" 0replaceme
324+ (c++)"unity::scopes::internal::ScopeMetadataImpl::tags() const@Base" 0replaceme
325+ (c++)"unity::scopes::internal::ScopeMetadataImpl::version() const@Base" 0replaceme
326 (c++)"unity::scopes::internal::ScopeObject::activate(unity::scopes::Result const&, unity::scopes::ActionMetadata const&, std::shared_ptr<unity::scopes::internal::MWReply> const&, unity::scopes::internal::InvokeInfo const&)@Base" 0.4.0+14.04.20140312.1
327 (c++)"unity::scopes::internal::ScopeObject::debug_mode() const@Base" 0.6.2+rtm+rtm+rtm+14.09.20140818
328 (c++)"unity::scopes::internal::ScopeObject::perform_action(unity::scopes::Result const&, unity::scopes::ActionMetadata const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<unity::scopes::internal::MWReply> const&, unity::scopes::internal::InvokeInfo const&)@Base" 0.4.0+14.04.20140312.1
329@@ -741,6 +754,7 @@
330 (c++)"unity::scopes::Runtime::Runtime(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
331 (c++)"unity::scopes::Runtime::string_to_proxy(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1
332 (c++)"unity::scopes::ScopeBase::activate(unity::scopes::Result const&, unity::scopes::ActionMetadata const&)@Base" 0.4.0+14.04.20140312.1
333+ (c++)"unity::scopes::ScopeBase::app_directory() const@Base" 0replaceme
334 (c++)"unity::scopes::ScopeBase::cache_directory() const@Base" 0.6.0+14.10.20140804.1
335 (c++)"unity::scopes::ScopeBase::perform_action(unity::scopes::Result const&, unity::scopes::ActionMetadata const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
336 (c++)"unity::scopes::ScopeBase::registry() const@Base" 0.6.0+14.10.20140804.1
337@@ -756,6 +770,7 @@
338 (c++)"unity::scopes::ScopeMetadata::appearance_attributes() const@Base" 0.4.2+14.04.20140404.2
339 (c++)"unity::scopes::ScopeMetadata::art() const@Base" 0.4.0+14.04.20140312.1
340 (c++)"unity::scopes::ScopeMetadata::author() const@Base" 0.4.0+14.04.20140312.1
341+ (c++)"unity::scopes::ScopeMetadata::child_scope_ids() const@Base" 0replaceme
342 (c++)"unity::scopes::ScopeMetadata::description() const@Base" 0.4.0+14.04.20140312.1
343 (c++)"unity::scopes::ScopeMetadata::display_name() const@Base" 0.4.0+14.04.20140312.1
344 (c++)"unity::scopes::ScopeMetadata::hot_key() const@Base" 0.4.0+14.04.20140312.1
345@@ -775,6 +790,8 @@
346 (c++)"unity::scopes::ScopeMetadata::search_hint() const@Base" 0.4.0+14.04.20140312.1
347 (c++)"unity::scopes::ScopeMetadata::serialize() const@Base" 0.4.0+14.04.20140312.1
348 (c++)"unity::scopes::ScopeMetadata::settings_definitions() const@Base" 0.5.2+14.10.20140709.2
349+ (c++)"unity::scopes::ScopeMetadata::tags() const@Base" 0replaceme
350+ (c++)"unity::scopes::ScopeMetadata::version() const@Base" 0replaceme
351 (c++)"unity::scopes::Scope::~Scope()@Base" 0.4.0+14.04.20140312.1
352 (c++)"unity::scopes::Scope::Scope()@Base" 0.4.0+14.04.20140312.1
353 (c++)"unity::scopes::SearchListenerBase::push(std::list<std::shared_ptr<unity::scopes::FilterBase const>, std::allocator<std::shared_ptr<unity::scopes::FilterBase const> > > const&, unity::scopes::FilterState const&)@Base" 0.4.0+14.04.20140312.1
354@@ -846,11 +863,13 @@
355 (c++)"unity::scopes::testing::ScopeMetadataBuilder::appearance_attributes(unity::scopes::testing::ScopeMetadataBuilder::Optional<std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unity::scopes::Variant, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, unity::scopes::Variant> > > > const&)@Base" 0.5.0+14.10.20140619
356 (c++)"unity::scopes::testing::ScopeMetadataBuilder::art(unity::scopes::testing::ScopeMetadataBuilder::Optional<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&)@Base" 0.4.0+14.04.20140312.1
357 (c++)"unity::scopes::testing::ScopeMetadataBuilder::author(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.5.0+14.10.20140619
358+ (c++)"unity::scopes::testing::ScopeMetadataBuilder::child_scope_ids(unity::scopes::testing::ScopeMetadataBuilder::Optional<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)@Base" 0replaceme
359 (c++)"unity::scopes::testing::ScopeMetadataBuilder::description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
360 (c++)"unity::scopes::testing::ScopeMetadataBuilder::display_name(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
361 (c++)"unity::scopes::testing::ScopeMetadataBuilder::hot_key(unity::scopes::testing::ScopeMetadataBuilder::Optional<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&)@Base" 0.4.0+14.04.20140312.1
362 (c++)"unity::scopes::testing::ScopeMetadataBuilder::icon(unity::scopes::testing::ScopeMetadataBuilder::Optional<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&)@Base" 0.4.0+14.04.20140312.1
363 (c++)"unity::scopes::testing::ScopeMetadataBuilder::invisible(unity::scopes::testing::ScopeMetadataBuilder::Optional<bool> const&)@Base" 0.5.0+14.10.20140619
364+ (c++)"unity::scopes::testing::ScopeMetadataBuilder::location_data_needed(unity::scopes::testing::ScopeMetadataBuilder::Optional<bool> const&)@Base" 0replaceme
365 (c++)"unity::scopes::testing::ScopeMetadataBuilder::operator()() const@Base" 0.4.0+14.04.20140312.1
366 (c++)"unity::scopes::testing::ScopeMetadataBuilder::proxy(std::shared_ptr<unity::scopes::Scope> const&)@Base" 0.4.0+14.04.20140312.1
367 (c++)"unity::scopes::testing::ScopeMetadataBuilder::results_ttl_type(unity::scopes::testing::ScopeMetadataBuilder::Optional<unity::scopes::ScopeMetadata::ResultsTtlType> const&)@Base" 0.5.0+14.10.20140619
368@@ -859,11 +878,17 @@
369 (c++)"unity::scopes::testing::ScopeMetadataBuilder::~ScopeMetadataBuilder()@Base" 0.4.0+14.04.20140312.1
370 (c++)"unity::scopes::testing::ScopeMetadataBuilder::ScopeMetadataBuilder()@Base" 0.4.0+14.04.20140312.1
371 (c++)"unity::scopes::testing::ScopeMetadataBuilder::search_hint(unity::scopes::testing::ScopeMetadataBuilder::Optional<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&)@Base" 0.4.0+14.04.20140312.1
372+ (c++)"unity::scopes::testing::ScopeMetadataBuilder::settings_definitions(unity::scopes::testing::ScopeMetadataBuilder::Optional<std::vector<unity::scopes::Variant, std::allocator<unity::scopes::Variant> > > const&)@Base" 0replaceme
373+ (c++)"unity::scopes::testing::ScopeMetadataBuilder::tags(unity::scopes::testing::ScopeMetadataBuilder::Optional<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&)@Base" 0replaceme
374+ (c++)"unity::scopes::testing::ScopeMetadataBuilder::version(unity::scopes::testing::ScopeMetadataBuilder::Optional<int> const&)@Base" 0replaceme
375 (c++)"unity::scopes::testing::StudentsTTest::one_sample(unity::scopes::testing::Sample const&, double, double)@Base" 0.4.0+14.04.20140312.1
376 (c++)"unity::scopes::testing::StudentsTTest::Result::~Result()@Base" 0.4.2+14.04.20140404.2
377 (c++)"unity::scopes::testing::StudentsTTest::two_independent_samples(unity::scopes::testing::Sample const&, unity::scopes::testing::Sample const&)@Base" 0.4.0+14.04.20140312.1
378+ (c++)"unity::scopes::testing::TypedScopeFixtureHelper::set_app_directory(std::shared_ptr<unity::scopes::ScopeBase> const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0replaceme
379+ (c++)"unity::scopes::testing::TypedScopeFixtureHelper::set_cache_directory(std::shared_ptr<unity::scopes::ScopeBase> const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0replaceme
380 (c++)"unity::scopes::testing::TypedScopeFixtureHelper::set_registry(std::shared_ptr<unity::scopes::ScopeBase> const&, std::shared_ptr<unity::scopes::Registry> const&)@Base" 0.6.2+rtm+rtm+rtm+14.09.20140818
381 (c++)"unity::scopes::testing::TypedScopeFixtureHelper::set_scope_directory(std::shared_ptr<unity::scopes::ScopeBase> const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.6.6+14.10.20140916
382+ (c++)"unity::scopes::testing::TypedScopeFixtureHelper::set_tmp_directory(std::shared_ptr<unity::scopes::ScopeBase> const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0replaceme
383 (c++)"unity::scopes::TimeoutException::operator=(unity::scopes::TimeoutException const&)@Base" 0.4.0+14.04.20140312.1
384 (c++)"unity::scopes::TimeoutException::self() const@Base" 0.4.0+14.04.20140312.1
385 (c++)"unity::scopes::TimeoutException::~TimeoutException()@Base" 0.4.0+14.04.20140312.1
386
387=== modified file 'doc/tutorial.dox'
388--- doc/tutorial.dox 2014-09-15 12:43:47 +0000
389+++ doc/tutorial.dox 2014-11-28 11:54:53 +0000
390@@ -188,7 +188,7 @@
391 and "Recently Played"; similarly, for a weather scope, the default results could be for the weather
392 report for the current location. As the scope author, you need to decide what is most appropriate
393 to show in surfacing mode. In the interests of a good user experience, it is important to show _something_
394-here (if at all possible), so the user gets to to see at least some results (instead of being confronted with
395+here (if at all possible), so the user gets to see at least some results (instead of being confronted with
396 a blank screen).
397
398 \paragraph querybase Implementing QueryBase
399@@ -206,16 +206,15 @@
400 and \link unity::scopes::SearchReply::push push()\endlink.
401
402 `register_category()` is a factory method that registers new categories for the results of this query (see
403-\link unity::scopes::Category\endlink). You can create new categories at any point during query processing,
404-but we recommend to create them in advance, if possible. Categories serve to visually group query results
405-in some way; the UI typically renders categories in the same order as you registered them (but may choose
406-to override the order for some categories). When you push results for a query, you indicate which
407+\link unity::scopes::Category\endlink). You can create new categories at any point during query processing.
408+Categories serve to visually group query results in some way;
409+when you push results for a query, you indicate which
410 category each particular result belongs to, and the UI renders that result in the corresponding
411-visual group.
412-
413-You can create a new category later, after you have already registered some categories and pushed
414-a number of results for them. If you do, the newly created category renders after (or below)
415-any of the categories you registered initially.
416+visual group. Categories are rendered in the order in which they are encountered by the UI
417+as you push your results. If you want to control the order in which categories are rendered
418+(for examples, such that a "Breaking News" category always appears first), you may need to
419+buffer the results you receive from your back-end data source until you get a result for that
420+category, and then push that result, plus any other buffered results.
421
422 Pre-registering categories is the preferred approach because it allows the UI to reserve space
423 and perform layout chores before any query results arrive. (In turn, this permits the UI to
424@@ -761,6 +760,34 @@
425 }
426 ~~~
427
428+\subsection directories File system access
429+
430+Scopes that are installed from click packages are subject to confinement and are not allowed
431+to access most parts of the file system. However, a few locations are available to a scope.
432+You can access these paths by calling methods on \link unity::scopes::ScopeBase ScopeBase\endlink.
433+
434+\note Do not call these methods from the constructor of your `ScopeBase` implementation. If you
435+do, these methods throw `LogicException`. Instead, call them from
436+\link unity::scopes::ScopeBase::start() start()\endlink or any time thereafter.
437+
438+\link unity::scopes::ScopeBase::scope_directory() scope_directory()\endlink returns the path of the installation
439+directory of the scope. This directory contains the scope's `.so` and `.ini` files, plus whatever other
440+files you decide to package with your scope. The scope has read-only permission for this directory.
441+
442+\link unity::scopes::ScopeBase::cache_directory() cache_directory()\endlink returns the path of a
443+directory that is (exclusively) writable for the scope. You can use this directory to store
444+persistent information, such as a cache of results.
445+
446+\link unity::scopes::ScopeBase::app_directory() app_directory()\endlink returns the path of a
447+read-only directory. If the scope is packaged together with an app, the app has permission to write
448+files in this location, that is, this directory can be used make information provided by the app
449+available to the scope (but not vice versa).
450+
451+\link unity::scopes::ScopeBase::tmp_directory() tmp_directory()\endlink returns the path of a
452+read-only directory that is (exclusively) writable for the scope. This directory is periodically
453+cleaned of unused files. The exact amount of time may vary, but is on the order of a few hours.
454+The directory is also cleaned during reboot.
455+
456 \subsection online_accounts Online Accounts
457
458 A scope may require access to an online account in order to evaluate particular results, perform certain actions, or
459@@ -1027,11 +1054,14 @@
460 DisplayName = human readable name of scope
461 Description = description of scope
462 Author = Author
463+ Version = 1
464 Icon = path to icon representing the scope
465 Art = path to screenshot of the scope
466 SearchHint = hint text displayed to user when viewing scope
467 HotKey =
468 ResultsTtlType = None, Small, Medium, or Large
469+ ChildScopes =
470+ Tags =
471
472 [Appearance]
473 ForegroundColor = default text color (defaults to theme-provided foreground color)
474@@ -1051,6 +1081,13 @@
475
476 `Description[de_DE] = Fu&szlig;ballergebnisse`
477
478+The `Version` key is optional, but we strongly recommend that you set it.
479+If the behavior of your scope changes in any way that is visible to the query source
480+(such having added or removed a result attribute), you should increment the version number.
481+This allows an aggregating scope to adjust its behavior according to which version of
482+your scope is installed.
483+If not set, the default value is 0. You can set the value to any integer >= 1.
484+
485 In addition to allowing the registry to make the scope available, this information controls how the scope appears
486 in the "Scopes" scope.
487
488@@ -1065,6 +1102,17 @@
489 <li>http://remote-server.com/path/to/image</li>
490 </ul>
491
492+The value of `ChildScopes` key is to be used by aggregator scopes. It must be a semicolon separated list of scope identifiers that
493+might be aggregated by this scope, for example:
494+
495+`ChildScopes = com.foo.bar;com.foo.bar2`
496+
497+This list of scopes is translated to the names of children scopes when in the scopes overview page of the Unity Dash.
498+
499+The `Tags` key is optional, but we recommend that you use it. Tags are used by aggregators to collect results from scopes of
500+similar type (E.g. The Music scope will aggregate scopes with the tag "music", and so on). The value of `Tags` should specify a
501+list of tags your scope falls under. Like `ChildScopes`, this value must be a semicolon separated list (E.g. `Tags = music;video`).
502+
503 \subsection scopetool The scope tool
504
505 The Unity Scope Tool is a stand-alone redering tool that allows you
506
507=== modified file 'include/unity/scopes/AbstractScopeBase.h'
508--- include/unity/scopes/AbstractScopeBase.h 2014-08-22 10:09:43 +0000
509+++ include/unity/scopes/AbstractScopeBase.h 2014-11-28 11:54:53 +0000
510@@ -16,8 +16,7 @@
511 * Authored by: Michi Henning <michi.henning@canonical.com>
512 */
513
514-#ifndef UNITY_SCOPES_ABSTRACTSCOPEBASE_H
515-#define UNITY_SCOPES_ABSTRACTSCOPEBASE_H
516+#pragma once
517
518 #include <unity/scopes/ActivationQueryBase.h>
519 #include <unity/scopes/PreviewQueryBase.h>
520@@ -62,5 +61,3 @@
521 } // namespace scopes
522
523 } // namespace unity
524-
525-#endif
526
527=== modified file 'include/unity/scopes/ActionMetadata.h'
528--- include/unity/scopes/ActionMetadata.h 2014-09-02 15:47:35 +0000
529+++ include/unity/scopes/ActionMetadata.h 2014-11-28 11:54:53 +0000
530@@ -16,8 +16,7 @@
531 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
532 */
533
534-#ifndef UNITY_SCOPES_ACTIONMETADATA_H
535-#define UNITY_SCOPES_ACTIONMETADATA_H
536+#pragma once
537
538 #include <unity/scopes/QueryMetadata.h>
539 #include <unity/scopes/Variant.h>
540@@ -131,5 +130,3 @@
541 } // namespace scopes
542
543 } // namespace unity
544-
545-#endif
546
547=== modified file 'include/unity/scopes/ActivationListenerBase.h'
548--- include/unity/scopes/ActivationListenerBase.h 2014-07-28 08:30:35 +0000
549+++ include/unity/scopes/ActivationListenerBase.h 2014-11-28 11:54:53 +0000
550@@ -16,8 +16,7 @@
551 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
552 */
553
554-#ifndef UNITY_SCOPES_ACTIVATIONLISTENERBASE_H
555-#define UNITY_SCOPES_ACTIVATIONLISTENERBASE_H
556+#pragma once
557
558 #include <unity/scopes/ListenerBase.h>
559 #include <unity/util/NonCopyable.h>
560@@ -71,5 +70,3 @@
561 } // namespace scopes
562
563 } // namespace unity
564-
565-#endif
566
567=== modified file 'include/unity/scopes/ActivationQueryBase.h'
568--- include/unity/scopes/ActivationQueryBase.h 2014-07-10 23:51:49 +0000
569+++ include/unity/scopes/ActivationQueryBase.h 2014-11-28 11:54:53 +0000
570@@ -16,8 +16,7 @@
571 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
572 */
573
574-#ifndef UNITY_SCOPES_ACTIVATIONQUERYBASE_H
575-#define UNITY_SCOPES_ACTIVATIONQUERYBASE_H
576+#pragma once
577
578 #include <unity/scopes/QueryBase.h>
579 #include <unity/util/DefinesPtrs.h>
580@@ -125,5 +124,3 @@
581 } // namespace scopes
582
583 } // namespace unity
584-
585-#endif
586
587=== modified file 'include/unity/scopes/ActivationResponse.h'
588--- include/unity/scopes/ActivationResponse.h 2014-03-10 04:17:09 +0000
589+++ include/unity/scopes/ActivationResponse.h 2014-11-28 11:54:53 +0000
590@@ -16,8 +16,7 @@
591 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
592 */
593
594-#ifndef UNITY_SCOPES_ACTIVATIONRESPONSE_H
595-#define UNITY_SCOPES_ACTIVATIONRESPONSE_H
596+#pragma once
597
598 #include <unity/scopes/Variant.h>
599 #include <unity/scopes/CannedQuery.h>
600@@ -122,5 +121,3 @@
601 } // namespace scopes
602
603 } // namespace unity
604-
605-#endif
606
607=== modified file 'include/unity/scopes/Annotation.h'
608--- include/unity/scopes/Annotation.h 2014-06-17 15:07:13 +0000
609+++ include/unity/scopes/Annotation.h 2014-11-28 11:54:53 +0000
610@@ -16,8 +16,7 @@
611 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
612 */
613
614-#ifndef UNITY_SCOPES_ANNOTATION_H
615-#define UNITY_SCOPES_ANNOTATION_H
616+#pragma once
617
618 #include <unity/scopes/Variant.h>
619 #include <unity/scopes/Link.h>
620@@ -139,5 +138,3 @@
621 } // namespace scopes
622
623 } // namespace unity
624-
625-#endif
626
627=== modified file 'include/unity/scopes/CannedQuery.h'
628--- include/unity/scopes/CannedQuery.h 2014-04-11 12:04:41 +0000
629+++ include/unity/scopes/CannedQuery.h 2014-11-28 11:54:53 +0000
630@@ -16,8 +16,7 @@
631 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
632 */
633
634-#ifndef UNITY_SCOPES_CANNEDQUERY_H
635-#define UNITY_SCOPES_CANNEDQUERY_H
636+#pragma once
637
638 #include <unity/util/DefinesPtrs.h>
639 #include <string>
640@@ -143,5 +142,3 @@
641 } // namespace scopes
642
643 } // namespace unity
644-
645-#endif
646
647=== modified file 'include/unity/scopes/CategorisedResult.h'
648--- include/unity/scopes/CategorisedResult.h 2014-02-28 01:00:57 +0000
649+++ include/unity/scopes/CategorisedResult.h 2014-11-28 11:54:53 +0000
650@@ -16,8 +16,7 @@
651 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
652 */
653
654-#ifndef UNITY_SCOPES_CATEGORISEDRESULT_H
655-#define UNITY_SCOPES_CATEGORISEDRESULT_H
656+#pragma once
657
658 #include <unity/scopes/Result.h>
659 #include <unity/scopes/Category.h>
660@@ -86,5 +85,3 @@
661 } // namespace scopes
662
663 } // namespace unity
664-
665-#endif
666
667=== modified file 'include/unity/scopes/Category.h'
668--- include/unity/scopes/Category.h 2014-07-02 10:08:10 +0000
669+++ include/unity/scopes/Category.h 2014-11-28 11:54:53 +0000
670@@ -16,8 +16,7 @@
671 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
672 */
673
674-#ifndef UNITY_SCOPES_CATEGORY_H
675-#define UNITY_SCOPES_CATEGORY_H
676+#pragma once
677
678 #include <unity/util/NonCopyable.h>
679 #include <unity/util/DefinesPtrs.h>
680@@ -109,5 +108,3 @@
681 } // namespace scopes
682
683 } // namespace unity
684-
685-#endif
686
687=== modified file 'include/unity/scopes/CategoryRenderer.h'
688--- include/unity/scopes/CategoryRenderer.h 2014-03-06 11:05:22 +0000
689+++ include/unity/scopes/CategoryRenderer.h 2014-11-28 11:54:53 +0000
690@@ -16,8 +16,7 @@
691 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
692 */
693
694-#ifndef UNITY_SCOPES_CATEGORYRENDERER_H
695-#define UNITY_SCOPES_CATEGORYRENDERER_H
696+#pragma once
697
698 #include <string>
699 #include <memory>
700@@ -134,5 +133,3 @@
701 } // namespace scopes
702
703 } // namespace unity
704-
705-#endif
706
707=== modified file 'include/unity/scopes/ColumnLayout.h'
708--- include/unity/scopes/ColumnLayout.h 2014-02-28 01:37:46 +0000
709+++ include/unity/scopes/ColumnLayout.h 2014-11-28 11:54:53 +0000
710@@ -16,8 +16,7 @@
711 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
712 */
713
714-#ifndef UNITY_SCOPES_COLUMNLAYOUT_H
715-#define UNITY_SCOPES_COLUMNLAYOUT_H
716+#pragma once
717
718 #include <unity/scopes/Variant.h>
719 #include <memory>
720@@ -114,5 +113,3 @@
721 } // namespace scopes
722
723 } // namespace unity
724-
725-#endif
726
727=== modified file 'include/unity/scopes/CompletionDetails.h'
728--- include/unity/scopes/CompletionDetails.h 2014-07-29 05:07:27 +0000
729+++ include/unity/scopes/CompletionDetails.h 2014-11-28 11:54:53 +0000
730@@ -16,8 +16,7 @@
731 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
732 */
733
734-#ifndef UNITY_SCOPES_COMPLETIONDETAILS_H
735-#define UNITY_SCOPES_COMPLETIONDETAILS_H
736+#pragma once
737
738 #include <unity/scopes/OperationInfo.h>
739
740@@ -120,5 +119,3 @@
741 } // namespace scopes
742
743 } // namespace unity
744-
745-#endif
746
747=== modified file 'include/unity/scopes/Department.h'
748--- include/unity/scopes/Department.h 2014-05-28 12:36:06 +0000
749+++ include/unity/scopes/Department.h 2014-11-28 11:54:53 +0000
750@@ -16,8 +16,7 @@
751 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
752 */
753
754-#ifndef UNITY_SCOPES_DEPARTMENT_H
755-#define UNITY_SCOPES_DEPARTMENT_H
756+#pragma once
757
758 #include <unity/scopes/Variant.h>
759 #include <unity/util/DefinesPtrs.h>
760@@ -179,5 +178,3 @@
761 } // namespace scopes
762
763 } // namespace unity
764-
765-#endif
766
767=== modified file 'include/unity/scopes/FilterBase.h'
768--- include/unity/scopes/FilterBase.h 2014-05-15 08:12:32 +0000
769+++ include/unity/scopes/FilterBase.h 2014-11-28 11:54:53 +0000
770@@ -16,8 +16,7 @@
771 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
772 */
773
774-#ifndef UNITY_SCOPES_FILTERBASE_H
775-#define UNITY_SCOPES_FILTERBASE_H
776+#pragma once
777
778 #include <unity/util/NonCopyable.h>
779 #include <unity/scopes/Variant.h>
780@@ -108,5 +107,3 @@
781 } // namespace scopes
782
783 } // namespace unity
784-
785-#endif
786
787=== modified file 'include/unity/scopes/FilterOption.h'
788--- include/unity/scopes/FilterOption.h 2014-02-26 22:37:01 +0000
789+++ include/unity/scopes/FilterOption.h 2014-11-28 11:54:53 +0000
790@@ -16,8 +16,7 @@
791 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
792 */
793
794-#ifndef UNITY_SCOPES_FILTEROPTION_H
795-#define UNITY_SCOPES_FILTEROPTION_H
796+#pragma once
797
798 #include <unity/util/NonCopyable.h>
799 #include <unity/util/DefinesPtrs.h>
800@@ -73,5 +72,3 @@
801 } // namespace scopes
802
803 } // namespace unity
804-
805-#endif
806
807=== modified file 'include/unity/scopes/FilterState.h'
808--- include/unity/scopes/FilterState.h 2014-03-10 04:17:09 +0000
809+++ include/unity/scopes/FilterState.h 2014-11-28 11:54:53 +0000
810@@ -16,8 +16,7 @@
811 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
812 */
813
814-#ifndef UNITY_SCOPES_FILTERSTATE_H
815-#define UNITY_SCOPES_FILTERSTATE_H
816+#pragma once
817
818 #include <unity/scopes/Variant.h>
819 #include <unity/util/DefinesPtrs.h>
820@@ -91,5 +90,3 @@
821 } // namespace scopes
822
823 } // namespace unity
824-
825-#endif
826
827=== modified file 'include/unity/scopes/Link.h'
828--- include/unity/scopes/Link.h 2014-02-28 01:00:57 +0000
829+++ include/unity/scopes/Link.h 2014-11-28 11:54:53 +0000
830@@ -16,8 +16,7 @@
831 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
832 */
833
834-#ifndef UNITY_SCOPES_LINK_H
835-#define UNITY_SCOPES_LINK_H
836+#pragma once
837
838 #include <unity/util/DefinesPtrs.h>
839 #include <unity/scopes/CannedQuery.h>
840@@ -87,5 +86,3 @@
841 } // namespace scopes
842
843 } // namespace unity
844-
845-#endif
846
847=== modified file 'include/unity/scopes/ListenerBase.h'
848--- include/unity/scopes/ListenerBase.h 2014-07-28 08:30:35 +0000
849+++ include/unity/scopes/ListenerBase.h 2014-11-28 11:54:53 +0000
850@@ -16,8 +16,7 @@
851 * Authored by: Michi Henning <michi.henning@canonical.com>
852 */
853
854-#ifndef UNITY_SCOPES_LISTENERBASE_H
855-#define UNITY_SCOPES_LISTENERBASE_H
856+#pragma once
857
858 #include <unity/scopes/CompletionDetails.h>
859 #include <unity/scopes/OperationInfo.h>
860@@ -84,5 +83,3 @@
861 } // namespace scopes
862
863 } // namespace unity
864-
865-#endif
866
867=== modified file 'include/unity/scopes/Location.h'
868--- include/unity/scopes/Location.h 2014-08-05 05:29:56 +0000
869+++ include/unity/scopes/Location.h 2014-11-28 11:54:53 +0000
870@@ -16,8 +16,7 @@
871 * Authored by: Pete Woods <pete.wods@canonical.com>
872 */
873
874-#ifndef UNITY_SCOPES_LOCATION_H
875-#define UNITY_SCOPES_LOCATION_H
876+#pragma once
877
878 #include <unity/scopes/Variant.h>
879 #include <unity/util/DefinesPtrs.h>
880@@ -300,5 +299,3 @@
881 } // namespace scopes
882
883 } // namespace unity
884-
885-#endif
886
887=== modified file 'include/unity/scopes/Object.h'
888--- include/unity/scopes/Object.h 2014-07-10 23:51:49 +0000
889+++ include/unity/scopes/Object.h 2014-11-28 11:54:53 +0000
890@@ -16,8 +16,7 @@
891 * Authored by: Michi Henning <michi.henning@canonical.com>
892 */
893
894-#ifndef UNITY_SCOPES_OBJECT_H
895-#define UNITY_SCOPES_OBJECT_H
896+#pragma once
897
898 #include <unity/scopes/ObjectProxyFwd.h>
899 #include <unity/util/NonCopyable.h>
900@@ -84,5 +83,3 @@
901 } // namespace scopes
902
903 } // namespace unity
904-
905-#endif
906
907=== modified file 'include/unity/scopes/ObjectProxyFwd.h'
908--- include/unity/scopes/ObjectProxyFwd.h 2014-03-05 02:42:49 +0000
909+++ include/unity/scopes/ObjectProxyFwd.h 2014-11-28 11:54:53 +0000
910@@ -16,8 +16,7 @@
911 * Authored by: Michi Henning <michi.henning@canonical.com>
912 */
913
914-#ifndef UNITY_SCOPES_OBJECTPROXYFWD_H
915-#define UNITY_SCOPES_OBJECTPROXYFWD_H
916+#pragma once
917
918 #include <memory>
919
920@@ -36,5 +35,3 @@
921 } // namespace scopes
922
923 } // namespace unity
924-
925-#endif
926
927=== modified file 'include/unity/scopes/OnlineAccountClient.h'
928--- include/unity/scopes/OnlineAccountClient.h 2014-10-10 13:41:06 +0000
929+++ include/unity/scopes/OnlineAccountClient.h 2014-11-28 11:54:53 +0000
930@@ -16,8 +16,7 @@
931 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
932 */
933
934-#ifndef UNITY_SCOPES_ONLINEACCOUNTCLIENT_H
935-#define UNITY_SCOPES_ONLINEACCOUNTCLIENT_H
936+#pragma once
937
938 #include <unity/scopes/CannedQuery.h>
939 #include <unity/scopes/PreviewWidget.h>
940@@ -169,5 +168,3 @@
941 } // namespace scopes
942
943 } // namespace unity
944-
945-#endif
946
947=== modified file 'include/unity/scopes/OperationInfo.h'
948--- include/unity/scopes/OperationInfo.h 2014-07-28 08:30:35 +0000
949+++ include/unity/scopes/OperationInfo.h 2014-11-28 11:54:53 +0000
950@@ -16,8 +16,7 @@
951 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
952 */
953
954-#ifndef UNITY_SCOPES_OPERATIONINFO_H
955-#define UNITY_SCOPES_OPERATIONINFO_H
956+#pragma once
957
958 #include <memory>
959 #include <string>
960@@ -109,5 +108,3 @@
961 } // namespace scopes
962
963 } // namespace unity
964-
965-#endif
966
967=== modified file 'include/unity/scopes/OptionSelectorFilter.h'
968--- include/unity/scopes/OptionSelectorFilter.h 2014-05-19 09:54:37 +0000
969+++ include/unity/scopes/OptionSelectorFilter.h 2014-11-28 11:54:53 +0000
970@@ -16,8 +16,7 @@
971 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
972 */
973
974-#ifndef UNITY_SCOPES_OPTIONSELECTOR_H
975-#define UNITY_SCOPES_OPTIONSELECTOR_H
976+#pragma once
977
978 #include <unity/scopes/FilterBase.h>
979 #include <unity/scopes/FilterOption.h>
980@@ -121,5 +120,3 @@
981 } // namespace scopes
982
983 } // namespace unity
984-
985-#endif
986
987=== modified file 'include/unity/scopes/PreviewListenerBase.h'
988--- include/unity/scopes/PreviewListenerBase.h 2014-07-10 23:51:49 +0000
989+++ include/unity/scopes/PreviewListenerBase.h 2014-11-28 11:54:53 +0000
990@@ -16,8 +16,7 @@
991 * Authored by: Michi Henning <michi.henning@canonical.com>
992 */
993
994-#ifndef UNITY_SCOPES_PREVIEWLISTENERBASE_H
995-#define UNITY_SCOPES_PREVIEWLISTENERBASE_H
996+#pragma once
997
998 #include <unity/scopes/ListenerBase.h>
999 #include <unity/util/DefinesPtrs.h>
1000@@ -76,5 +75,3 @@
1001 } // namespace scopes
1002
1003 } // namespace unity
1004-
1005-#endif
1006
1007=== modified file 'include/unity/scopes/PreviewQueryBase.h'
1008--- include/unity/scopes/PreviewQueryBase.h 2014-07-29 08:05:11 +0000
1009+++ include/unity/scopes/PreviewQueryBase.h 2014-11-28 11:54:53 +0000
1010@@ -16,8 +16,7 @@
1011 * Authored by: Michi Henning <michi.henning@canonical.com>
1012 */
1013
1014-#ifndef UNITY_SCOPES_PREVIEWQUERYBASE_H
1015-#define UNITY_SCOPES_PREVIEWQUERYBASE_H
1016+#pragma once
1017
1018 #include <unity/scopes/PreviewReplyProxyFwd.h>
1019 #include <unity/scopes/QueryCtrlProxyFwd.h>
1020@@ -117,5 +116,3 @@
1021 } // namespace scopes
1022
1023 } // namespace unity
1024-
1025-#endif
1026
1027=== modified file 'include/unity/scopes/PreviewReply.h'
1028--- include/unity/scopes/PreviewReply.h 2014-03-10 05:51:39 +0000
1029+++ include/unity/scopes/PreviewReply.h 2014-11-28 11:54:53 +0000
1030@@ -16,8 +16,7 @@
1031 * Authored by: Michi Henning <michi.henning@canonical.com>
1032 */
1033
1034-#ifndef UNITY_SCOPES_PREVIEW_REPLY_H
1035-#define UNITY_SCOPES_PREVIEW_REPLY_H
1036+#pragma once
1037
1038 #include <unity/scopes/ColumnLayout.h>
1039 #include <unity/scopes/PreviewReplyProxyFwd.h>
1040@@ -74,5 +73,3 @@
1041 } // namespace scopes
1042
1043 } // namespace unity
1044-
1045-#endif
1046
1047=== modified file 'include/unity/scopes/PreviewReplyProxyFwd.h'
1048--- include/unity/scopes/PreviewReplyProxyFwd.h 2014-03-05 02:42:49 +0000
1049+++ include/unity/scopes/PreviewReplyProxyFwd.h 2014-11-28 11:54:53 +0000
1050@@ -16,8 +16,7 @@
1051 * Authored by: Michi Henning <michi.henning@canonical.com>
1052 */
1053
1054-#ifndef UNITY_SCOPES_PREVIEWREPLYPROXYFWD_H
1055-#define UNITY_SCOPES_PREVIEWREPLYPROXYFWD_H
1056+#pragma once
1057
1058 #include <memory>
1059
1060@@ -37,5 +36,3 @@
1061 } // namespace scopes
1062
1063 } // namespace unity
1064-
1065-#endif
1066
1067=== modified file 'include/unity/scopes/PreviewWidget.h'
1068--- include/unity/scopes/PreviewWidget.h 2014-08-21 15:06:12 +0000
1069+++ include/unity/scopes/PreviewWidget.h 2014-11-28 11:54:53 +0000
1070@@ -16,8 +16,7 @@
1071 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1072 */
1073
1074-#ifndef UNITY_SCOPES_PREVIEW_WIDGET_H
1075-#define UNITY_SCOPES_PREVIEW_WIDGET_H
1076+#pragma once
1077
1078 #include <unity/util/NonCopyable.h>
1079 #include <unity/util/DefinesPtrs.h>
1080@@ -182,5 +181,3 @@
1081 } // namespace scopes
1082
1083 } // namespace unity
1084-
1085-#endif
1086
1087=== modified file 'include/unity/scopes/QueryBase.h'
1088--- include/unity/scopes/QueryBase.h 2014-06-24 11:11:11 +0000
1089+++ include/unity/scopes/QueryBase.h 2014-11-28 11:54:53 +0000
1090@@ -16,8 +16,7 @@
1091 * Authored by: Michi Henning <michi.henning@canonical.com>
1092 */
1093
1094-#ifndef UNITY_SCOPES_QUERYBASE_H
1095-#define UNITY_SCOPES_QUERYBASE_H
1096+#pragma once
1097
1098 #include <unity/scopes/QueryCtrlProxyFwd.h>
1099 #include <unity/scopes/ReplyProxyFwd.h>
1100@@ -131,5 +130,3 @@
1101 } // namespace scopes
1102
1103 } // namespace unity
1104-
1105-#endif
1106
1107=== modified file 'include/unity/scopes/QueryCtrl.h'
1108--- include/unity/scopes/QueryCtrl.h 2014-03-07 01:31:43 +0000
1109+++ include/unity/scopes/QueryCtrl.h 2014-11-28 11:54:53 +0000
1110@@ -16,8 +16,7 @@
1111 * Authored by: Michi Henning <michi.henning@canonical.com>
1112 */
1113
1114-#ifndef UNITY_SCOPES_QUERYCTRL_H
1115-#define UNITY_SCOPES_QUERYCTRL_H
1116+#pragma once
1117
1118 #include <unity/scopes/Object.h>
1119 #include <unity/scopes/QueryCtrlProxyFwd.h>
1120@@ -61,5 +60,3 @@
1121 } // namespace scopes
1122
1123 } // namespace unity
1124-
1125-#endif
1126
1127=== modified file 'include/unity/scopes/QueryCtrlProxyFwd.h'
1128--- include/unity/scopes/QueryCtrlProxyFwd.h 2014-02-26 00:00:47 +0000
1129+++ include/unity/scopes/QueryCtrlProxyFwd.h 2014-11-28 11:54:53 +0000
1130@@ -16,8 +16,7 @@
1131 * Authored by: Michi Henning <michi.henning@canonical.com>
1132 */
1133
1134-#ifndef UNITY_SCOPES_QUERYCTRLPROXYFWD_H
1135-#define UNITY_SCOPES_QUERYCTRLPROXYFWD_H
1136+#pragma once
1137
1138 #include <memory>
1139
1140@@ -36,5 +35,3 @@
1141 } // namespace scopes
1142
1143 } // namespace unity
1144-
1145-#endif
1146
1147=== modified file 'include/unity/scopes/QueryMetadata.h'
1148--- include/unity/scopes/QueryMetadata.h 2014-07-23 07:12:48 +0000
1149+++ include/unity/scopes/QueryMetadata.h 2014-11-28 11:54:53 +0000
1150@@ -16,8 +16,7 @@
1151 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
1152 */
1153
1154-#ifndef UNITY_SCOPES_QUERYMETADATA_H
1155-#define UNITY_SCOPES_QUERYMETADATA_H
1156+#pragma once
1157
1158 #include <unity/scopes/Variant.h>
1159 #include <string>
1160@@ -103,5 +102,3 @@
1161 } // namespace scopes
1162
1163 } // namespace unity
1164-
1165-#endif
1166
1167=== modified file 'include/unity/scopes/RadioButtonsFilter.h'
1168--- include/unity/scopes/RadioButtonsFilter.h 2014-06-17 10:30:03 +0000
1169+++ include/unity/scopes/RadioButtonsFilter.h 2014-11-28 11:54:53 +0000
1170@@ -16,8 +16,7 @@
1171 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1172 */
1173
1174-#ifndef UNITY_SCOPES_RADIOBUTTONSFILTER_H
1175-#define UNITY_SCOPES_RADIOBUTTONSFILTER_H
1176+#pragma once
1177
1178 #include <unity/scopes/FilterBase.h>
1179 #include <unity/scopes/FilterOption.h>
1180@@ -125,5 +124,3 @@
1181 } // namespace scopes
1182
1183 } // namespace unity
1184-
1185-#endif
1186
1187=== modified file 'include/unity/scopes/RangeInputFilter.h'
1188--- include/unity/scopes/RangeInputFilter.h 2014-08-05 06:42:04 +0000
1189+++ include/unity/scopes/RangeInputFilter.h 2014-11-28 11:54:53 +0000
1190@@ -16,8 +16,7 @@
1191 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1192 */
1193
1194-#ifndef UNITY_SCOPES_RANGE_INPUT_FILTER_H
1195-#define UNITY_SCOPES_RANGE_INPUT_FILTER_H
1196+#pragma once
1197
1198 #include <unity/scopes/FilterBase.h>
1199 #include <unity/scopes/Variant.h>
1200@@ -150,5 +149,3 @@
1201 } // namespace scopes
1202
1203 } // namespace unity
1204-
1205-#endif
1206
1207=== modified file 'include/unity/scopes/RatingFilter.h'
1208--- include/unity/scopes/RatingFilter.h 2014-06-17 10:30:03 +0000
1209+++ include/unity/scopes/RatingFilter.h 2014-11-28 11:54:53 +0000
1210@@ -16,8 +16,7 @@
1211 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1212 */
1213
1214-#ifndef UNITY_SCOPES_RATINGFILTER_H
1215-#define UNITY_SCOPES_RATINGFILTER_H
1216+#pragma once
1217
1218 #include <unity/scopes/FilterBase.h>
1219 #include <unity/scopes/FilterOption.h>
1220@@ -181,5 +180,3 @@
1221 } // namespace scopes
1222
1223 } // namespace unity
1224-
1225-#endif
1226
1227=== modified file 'include/unity/scopes/Registry.h'
1228--- include/unity/scopes/Registry.h 2014-06-04 17:49:34 +0000
1229+++ include/unity/scopes/Registry.h 2014-11-28 11:54:53 +0000
1230@@ -16,8 +16,7 @@
1231 * Authored by: Michi Henning <michi.henning@canonical.com>
1232 */
1233
1234-#ifndef UNITY_SCOPES_REGISTRY_H
1235-#define UNITY_SCOPES_REGISTRY_H
1236+#pragma once
1237
1238 #include <core/signal.h>
1239 #include <unity/scopes/Object.h>
1240@@ -111,5 +110,3 @@
1241 } // namespace scopes
1242
1243 } // namespace unity
1244-
1245-#endif
1246
1247=== modified file 'include/unity/scopes/RegistryProxyFwd.h'
1248--- include/unity/scopes/RegistryProxyFwd.h 2014-03-04 01:38:13 +0000
1249+++ include/unity/scopes/RegistryProxyFwd.h 2014-11-28 11:54:53 +0000
1250@@ -16,8 +16,7 @@
1251 * Authored by: Michi Henning <michi.henning@canonical.com>
1252 */
1253
1254-#ifndef UNITY_SCOPES_REGISTRYPROXYFWD_H
1255-#define UNITY_SCOPES_REGISTRYPROXYFWD_H
1256+#pragma once
1257
1258 #include <memory>
1259
1260@@ -36,5 +35,3 @@
1261 } // namespace scopes
1262
1263 } // namespace unity
1264-
1265-#endif
1266
1267=== modified file 'include/unity/scopes/Reply.h'
1268--- include/unity/scopes/Reply.h 2014-07-28 05:22:59 +0000
1269+++ include/unity/scopes/Reply.h 2014-11-28 11:54:53 +0000
1270@@ -16,8 +16,7 @@
1271 * Authored by: Michi Henning <michi.henning@canonical.com>
1272 */
1273
1274-#ifndef UNITY_SCOPES_REPLY_H
1275-#define UNITY_SCOPES_REPLY_H
1276+#pragma once
1277
1278 #include <unity/scopes/Object.h>
1279 #include <unity/scopes/OperationInfo.h>
1280@@ -93,5 +92,3 @@
1281 } // namespace scopes
1282
1283 } // namespace unity
1284-
1285-#endif
1286
1287=== modified file 'include/unity/scopes/ReplyProxyFwd.h'
1288--- include/unity/scopes/ReplyProxyFwd.h 2014-03-07 10:54:15 +0000
1289+++ include/unity/scopes/ReplyProxyFwd.h 2014-11-28 11:54:53 +0000
1290@@ -16,8 +16,7 @@
1291 * Authored by: Michi Henning <michi.henning@canonical.com>
1292 */
1293
1294-#ifndef UNITY_SCOPES_REPLYPROXYFWD_H
1295-#define UNITY_SCOPES_REPLYPROXYFWD_H
1296+#pragma once
1297
1298 #include <memory>
1299
1300@@ -37,5 +36,3 @@
1301 } // namespace scopes
1302
1303 } // namespace unity
1304-
1305-#endif
1306
1307=== modified file 'include/unity/scopes/Result.h'
1308--- include/unity/scopes/Result.h 2014-08-05 06:42:04 +0000
1309+++ include/unity/scopes/Result.h 2014-11-28 11:54:53 +0000
1310@@ -16,8 +16,7 @@
1311 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1312 */
1313
1314-#ifndef UNITY_SCOPES_RESULT_H
1315-#define UNITY_SCOPES_RESULT_H
1316+#pragma once
1317
1318 #include <unity/scopes/Variant.h>
1319 #include <unity/util/DefinesPtrs.h>
1320@@ -247,5 +246,3 @@
1321 } // namespace scopes
1322
1323 } // namespace unity
1324-
1325-#endif
1326
1327=== modified file 'include/unity/scopes/Runtime.h'
1328--- include/unity/scopes/Runtime.h 2014-07-28 23:40:22 +0000
1329+++ include/unity/scopes/Runtime.h 2014-11-28 11:54:53 +0000
1330@@ -16,8 +16,7 @@
1331 * Authored by: Michi Henning <michi.henning@canonical.com>
1332 */
1333
1334-#ifndef UNITY_SCOPES_RUNTIME_H
1335-#define UNITY_SCOPES_RUNTIME_H
1336+#pragma once
1337
1338 #include <unity/scopes/ObjectProxyFwd.h>
1339 #include <unity/scopes/RegistryProxyFwd.h>
1340@@ -175,5 +174,3 @@
1341 } // namespace scopes
1342
1343 } // namespace unity
1344-
1345-#endif
1346
1347=== modified file 'include/unity/scopes/Scope.h'
1348--- include/unity/scopes/Scope.h 2014-03-10 05:51:39 +0000
1349+++ include/unity/scopes/Scope.h 2014-11-28 11:54:53 +0000
1350@@ -16,8 +16,7 @@
1351 * Authored by: Michi Henning <michi.henning@canonical.com>
1352 */
1353
1354-#ifndef UNITY_SCOPES_SCOPE_H
1355-#define UNITY_SCOPES_SCOPE_H
1356+#pragma once
1357
1358 #include <unity/scopes/ActivationListenerBase.h>
1359 #include <unity/scopes/Object.h>
1360@@ -150,5 +149,3 @@
1361 } // namespace scopes
1362
1363 } // namespace unity
1364-
1365-#endif
1366
1367=== modified file 'include/unity/scopes/ScopeBase.h'
1368--- include/unity/scopes/ScopeBase.h 2014-09-08 05:55:39 +0000
1369+++ include/unity/scopes/ScopeBase.h 2014-11-28 11:54:53 +0000
1370@@ -16,8 +16,7 @@
1371 * Authored by: Michi Henning <michi.henning@canonical.com>
1372 */
1373
1374-#ifndef UNITY_SCOPES_SCOPEBASE_H
1375-#define UNITY_SCOPES_SCOPEBASE_H
1376+#pragma once
1377
1378 #include <unity/scopes/AbstractScopeBase.h>
1379 #include <unity/scopes/ActionMetadata.h>
1380@@ -273,10 +272,28 @@
1381 virtual std::string cache_directory() const final;
1382
1383 /**
1384+ \brief Returns a directory that is shared with an app in the same click package.
1385+
1386+ If a scope and an app share a single click package, this directory and the
1387+ files in it are writable by the app, and read-only to the scope. This allows
1388+ the app to write information into the filesystem that can be read by the scope
1389+ (but not vice versa).
1390+
1391+ \note The app directory is available only after this ScopeBase is instantiated; do not
1392+ call this method from the constructor!
1393+
1394+ \return The root directory of a filesystem sub-tree that the scope shares with
1395+ an application installed from the same click-package.
1396+ \throws LogicException if called from the constructor of this instance.
1397+ */
1398+ virtual std::string app_directory() const final;
1399+
1400+ /**
1401 \brief Returns a tmp directory that is (exclusively) writable for the scope.
1402
1403 This directory is periodically cleaned of unused files. The exact amount of time
1404- may vary, but is on the order of a few hours.
1405+ may vary, but is on the order of a few hours. The directory is also cleaned
1406+ during reboot.
1407
1408 \note The tmp directory is available only after this ScopeBase is instantiated; do not
1409 call this method from the constructor!
1410@@ -375,5 +392,3 @@
1411 } // namespace scopes
1412
1413 } // namespace unity
1414-
1415-#endif
1416
1417=== modified file 'include/unity/scopes/ScopeExceptions.h'
1418--- include/unity/scopes/ScopeExceptions.h 2014-08-20 07:58:15 +0000
1419+++ include/unity/scopes/ScopeExceptions.h 2014-11-28 11:54:53 +0000
1420@@ -16,8 +16,7 @@
1421 * Authored by: Michi Henning <michi.henning@canonical.com>
1422 */
1423
1424-#ifndef UNITY_SCOPES_SCOPEEXCEPTIONS_H
1425-#define UNITY_SCOPES_SCOPEEXCEPTIONS_H
1426+#pragma once
1427
1428 #include <unity/Exception.h>
1429
1430@@ -211,5 +210,3 @@
1431 } // namespace scopes
1432
1433 } // namespace unity
1434-
1435-#endif
1436
1437=== modified file 'include/unity/scopes/ScopeMetadata.h'
1438--- include/unity/scopes/ScopeMetadata.h 2014-08-12 09:38:31 +0000
1439+++ include/unity/scopes/ScopeMetadata.h 2014-11-28 11:54:53 +0000
1440@@ -16,10 +16,10 @@
1441 * Authored by: Michi Henning <michi.henning@canonical.com>
1442 */
1443
1444-#ifndef UNITY_SCOPES_SCOPEMETADATA_H
1445-#define UNITY_SCOPES_SCOPEMETADATA_H
1446+#pragma once
1447
1448 #include <unity/scopes/Scope.h>
1449+#include <vector>
1450
1451 namespace unity
1452 {
1453@@ -183,6 +183,36 @@
1454 */
1455 bool location_data_needed() const; // optional (default = false)
1456
1457+ /**
1458+ \brief Return the list of scope identifiers aggregated by this scope.
1459+
1460+ The list returned by this method comes from the .ini file.
1461+ The scope author must ensure that it contains all scopes that an aggregator
1462+ might collect results from. This list may contain scopes that are not currently
1463+ installed and are optional for proper functioning of the aggregator scope.
1464+
1465+ \return The list of scopes ids aggregated by this scope.
1466+ */
1467+ std::vector<std::string> child_scope_ids() const;
1468+
1469+ /**
1470+ \brief Return the version of the scope.
1471+
1472+ \return The version or, if the scope does not define its version,
1473+ the value `0`.
1474+ */
1475+ int version() const;
1476+
1477+ /**
1478+ \brief Return the list of tags specified by this scope.
1479+
1480+ The list returned by this method is formulated from the value specified under
1481+ the "Tags" key in the scope's .ini file.
1482+
1483+ \return The list of scope tags specified by this scope.
1484+ */
1485+ std::vector<std::string> tags() const;
1486+
1487 private:
1488 ScopeMetadata(std::unique_ptr<internal::ScopeMetadataImpl>); // Instantiable only by ScopeMetadataImpl
1489 std::unique_ptr<internal::ScopeMetadataImpl> p;
1490@@ -193,5 +223,3 @@
1491 } // namespace scopes
1492
1493 } // namespace unity
1494-
1495-#endif
1496
1497=== modified file 'include/unity/scopes/ScopeProxyFwd.h'
1498--- include/unity/scopes/ScopeProxyFwd.h 2014-03-05 02:42:49 +0000
1499+++ include/unity/scopes/ScopeProxyFwd.h 2014-11-28 11:54:53 +0000
1500@@ -16,8 +16,7 @@
1501 * Authored by: Michi Henning <michi.henning@canonical.com>
1502 */
1503
1504-#ifndef UNITY_SCOPES_SCOPEPROXYFWD_H
1505-#define UNITY_SCOPES_SCOPEPROXYFWD_H
1506+#pragma once
1507
1508 #include <memory>
1509
1510@@ -37,5 +36,3 @@
1511 } // namespace scopes
1512
1513 } // namespace unity
1514-
1515-#endif
1516
1517=== modified file 'include/unity/scopes/SearchListenerBase.h'
1518--- include/unity/scopes/SearchListenerBase.h 2014-07-30 21:34:13 +0000
1519+++ include/unity/scopes/SearchListenerBase.h 2014-11-28 11:54:53 +0000
1520@@ -16,8 +16,7 @@
1521 * Authored by: Michi Henning <michi.henning@canonical.com>
1522 */
1523
1524-#ifndef UNITY_SCOPES_SEARCHLISTENERBASE_H
1525-#define UNITY_SCOPES_SEARCHLISTENERBASE_H
1526+#pragma once
1527
1528 #include <unity/scopes/Annotation.h>
1529 #include <unity/scopes/CategorisedResult.h>
1530@@ -110,5 +109,3 @@
1531 } // namespace scopes
1532
1533 } // namespace unity
1534-
1535-#endif
1536
1537=== modified file 'include/unity/scopes/SearchMetadata.h'
1538--- include/unity/scopes/SearchMetadata.h 2014-08-05 05:29:56 +0000
1539+++ include/unity/scopes/SearchMetadata.h 2014-11-28 11:54:53 +0000
1540@@ -16,8 +16,7 @@
1541 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1542 */
1543
1544-#ifndef UNITY_SCOPES_SEARCHMETADATA_H
1545-#define UNITY_SCOPES_SEARCHMETADATA_H
1546+#pragma once
1547
1548 #include <unity/scopes/QueryMetadata.h>
1549 #include <unity/scopes/Location.h>
1550@@ -161,5 +160,3 @@
1551 } // namespace scopes
1552
1553 } // namespace unity
1554-
1555-#endif
1556
1557=== modified file 'include/unity/scopes/SearchQueryBase.h'
1558--- include/unity/scopes/SearchQueryBase.h 2014-09-08 03:26:34 +0000
1559+++ include/unity/scopes/SearchQueryBase.h 2014-11-28 11:54:53 +0000
1560@@ -16,8 +16,7 @@
1561 * Authored by: Michi Henning <michi.henning@canonical.com>
1562 */
1563
1564-#ifndef UNITY_SCOPES_SEARCHQUERYBASE_H
1565-#define UNITY_SCOPES_SEARCHQUERYBASE_H
1566+#pragma once
1567
1568 #include <unity/scopes/QueryBase.h>
1569 #include <unity/scopes/QueryCtrlProxyFwd.h>
1570@@ -159,5 +158,3 @@
1571 } // namespace scopes
1572
1573 } // namespace unity
1574-
1575-#endif
1576
1577=== modified file 'include/unity/scopes/SearchReply.h'
1578--- include/unity/scopes/SearchReply.h 2014-07-02 09:36:34 +0000
1579+++ include/unity/scopes/SearchReply.h 2014-11-28 11:54:53 +0000
1580@@ -16,8 +16,7 @@
1581 * Authored by: Michi Henning <michi.henning@canonical.com>
1582 */
1583
1584-#ifndef UNITY_SCOPES_SEARCHREPLY_H
1585-#define UNITY_SCOPES_SEARCHREPLY_H
1586+#pragma once
1587
1588 #include <unity/scopes/Category.h>
1589 #include <unity/scopes/CategoryRenderer.h>
1590@@ -175,5 +174,3 @@
1591 } // namespace scopes
1592
1593 } // namespace unity
1594-
1595-#endif
1596
1597=== modified file 'include/unity/scopes/SearchReplyProxyFwd.h'
1598--- include/unity/scopes/SearchReplyProxyFwd.h 2014-03-07 10:54:15 +0000
1599+++ include/unity/scopes/SearchReplyProxyFwd.h 2014-11-28 11:54:53 +0000
1600@@ -16,8 +16,7 @@
1601 * Authored by: Michi Henning <michi.henning@canonical.com>
1602 */
1603
1604-#ifndef UNITY_SCOPES_SEARCHREPLYPROXYFWD_H
1605-#define UNITY_SCOPES_SEARCHREPLYPROXYFWD_H
1606+#pragma once
1607
1608 #include <memory>
1609
1610@@ -37,5 +36,3 @@
1611 } // namespace scopes
1612
1613 } // namespace unity
1614-
1615-#endif
1616
1617=== modified file 'include/unity/scopes/SwitchFilter.h'
1618--- include/unity/scopes/SwitchFilter.h 2014-06-17 10:30:03 +0000
1619+++ include/unity/scopes/SwitchFilter.h 2014-11-28 11:54:53 +0000
1620@@ -16,8 +16,7 @@
1621 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1622 */
1623
1624-#ifndef UNITY_SCOPES_SWITCHFILTER_H
1625-#define UNITY_SCOPES_SWITCHFILTER_H
1626+#pragma once
1627
1628 #include <unity/scopes/FilterBase.h>
1629
1630@@ -100,5 +99,3 @@
1631 } // namespace scopes
1632
1633 } // namespace unity
1634-
1635-#endif
1636
1637=== modified file 'include/unity/scopes/ValueSliderFilter.h'
1638--- include/unity/scopes/ValueSliderFilter.h 2014-08-05 06:42:04 +0000
1639+++ include/unity/scopes/ValueSliderFilter.h 2014-11-28 11:54:53 +0000
1640@@ -16,8 +16,7 @@
1641 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1642 */
1643
1644-#ifndef UNITY_SCOPES_VALUESLIDERFILTER_H
1645-#define UNITY_SCOPES_VALUESLIDERFILTER_H
1646+#pragma once
1647
1648 #include <unity/scopes/FilterBase.h>
1649
1650@@ -184,5 +183,3 @@
1651 } // namespace scopes
1652
1653 } // namespace unity
1654-
1655-#endif
1656
1657=== modified file 'include/unity/scopes/Variant.h'
1658--- include/unity/scopes/Variant.h 2014-04-02 10:56:52 +0000
1659+++ include/unity/scopes/Variant.h 2014-11-28 11:54:53 +0000
1660@@ -16,8 +16,7 @@
1661 * Authored by: Michi Henning <michi.henning@canonical.com>
1662 */
1663
1664-#ifndef UNITY_SCOPES_VARIANT_H
1665-#define UNITY_SCOPES_VARIANT_H
1666+#pragma once
1667
1668 #include <memory>
1669 #include <string>
1670@@ -208,5 +207,3 @@
1671 } // namespace scopes
1672
1673 } // namespace unity
1674-
1675-#endif
1676
1677=== modified file 'include/unity/scopes/VariantBuilder.h'
1678--- include/unity/scopes/VariantBuilder.h 2014-02-26 22:37:01 +0000
1679+++ include/unity/scopes/VariantBuilder.h 2014-11-28 11:54:53 +0000
1680@@ -16,8 +16,7 @@
1681 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1682 */
1683
1684-#ifndef UNITY_SCOPES_VARIANTBUILDER_H
1685-#define UNITY_SCOPES_VARIANTBUILDER_H
1686+#pragma once
1687
1688 #include <unity/scopes/Variant.h>
1689 #include <string>
1690@@ -116,5 +115,3 @@
1691 } // namespace scopes
1692
1693 } // namespace unity
1694-
1695-#endif
1696
1697=== modified file 'include/unity/scopes/Version.h.in'
1698--- include/unity/scopes/Version.h.in 2014-08-19 08:09:34 +0000
1699+++ include/unity/scopes/Version.h.in 2014-11-28 11:54:53 +0000
1700@@ -20,8 +20,7 @@
1701 * Authored by: Michi Henning <michi.henning@canonical.com>
1702 */
1703
1704-#ifndef UNITY_SCOPES_VERSION_H
1705-#define UNITY_SCOPES_VERSION_H
1706+#pragma once
1707
1708 #ifndef UNITY_SCOPES_VERSION_MAJOR
1709 # define UNITY_SCOPES_VERSION_MAJOR @UNITY_SCOPES_MAJOR@
1710@@ -107,5 +106,3 @@
1711 } // namespace scopes
1712
1713 } // namespace unity
1714-
1715-#endif
1716
1717=== modified file 'include/unity/scopes/internal/AbstractObject.h'
1718--- include/unity/scopes/internal/AbstractObject.h 2014-01-29 05:57:14 +0000
1719+++ include/unity/scopes/internal/AbstractObject.h 2014-11-28 11:54:53 +0000
1720@@ -16,8 +16,7 @@
1721 * Authored by: Michi Henning <michi.henning@canonical.com>
1722 */
1723
1724-#ifndef UNITY_SCOPES_INTERNAL_ABSTRACTOBJECT_H
1725-#define UNITY_SCOPES_INTERNAL_ABSTRACTOBJECT_H
1726+#pragma once
1727
1728 #include <unity/util/DefinesPtrs.h>
1729 #include <unity/util/NonCopyable.h>
1730@@ -61,5 +60,3 @@
1731 } // namespace scopes
1732
1733 } // namespace unity
1734-
1735-#endif
1736
1737=== modified file 'include/unity/scopes/internal/ActionMetadataImpl.h'
1738--- include/unity/scopes/internal/ActionMetadataImpl.h 2014-06-17 06:55:47 +0000
1739+++ include/unity/scopes/internal/ActionMetadataImpl.h 2014-11-28 11:54:53 +0000
1740@@ -16,8 +16,7 @@
1741 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1742 */
1743
1744-#ifndef UNITY_INTERNAL_ACTIONMETADATAIMPL_H
1745-#define UNITY_INTERNAL_ACTIONMETADATAIMPL_H
1746+#pragma once
1747
1748 #include <unity/scopes/ActionMetadata.h>
1749 #include <unity/scopes/internal/QueryMetadataImpl.h>
1750@@ -65,5 +64,3 @@
1751 } // namespace scopes
1752
1753 } // namespace unity
1754-
1755-#endif
1756
1757=== modified file 'include/unity/scopes/internal/ActivationQueryBaseImpl.h'
1758--- include/unity/scopes/internal/ActivationQueryBaseImpl.h 2014-06-13 10:17:24 +0000
1759+++ include/unity/scopes/internal/ActivationQueryBaseImpl.h 2014-11-28 11:54:53 +0000
1760@@ -16,8 +16,7 @@
1761 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1762 */
1763
1764-#ifndef UNITY_SCOPES_INTERNAL_ACTIVATIONQUERYBASEIMPL_H
1765-#define UNITY_SCOPES_INTERNAL_ACTIVATIONQUERYBASEIMPL_H
1766+#pragma once
1767
1768 #include <unity/scopes/internal/QueryBaseImpl.h>
1769 #include <unity/scopes/ActivationResponse.h>
1770@@ -65,5 +64,3 @@
1771 } // namespace scopes
1772
1773 } // namespace unity
1774-
1775-#endif
1776
1777=== modified file 'include/unity/scopes/internal/ActivationQueryObject.h'
1778--- include/unity/scopes/internal/ActivationQueryObject.h 2014-02-27 23:29:10 +0000
1779+++ include/unity/scopes/internal/ActivationQueryObject.h 2014-11-28 11:54:53 +0000
1780@@ -16,8 +16,7 @@
1781 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1782 */
1783
1784-#ifndef UNITY_SCOPES_INTERNAL_ACTIVATIONQUERYOBJECT_H
1785-#define UNITY_SCOPES_INTERNAL_ACTIVATIONQUERYOBJECT_H
1786+#pragma once
1787
1788 #include <unity/scopes/internal/QueryObject.h>
1789 #include <unity/scopes/internal/MWQueryCtrlProxyFwd.h>
1790@@ -50,5 +49,3 @@
1791 } // namespace scopes
1792
1793 } // namespace unity
1794-
1795-#endif
1796
1797=== modified file 'include/unity/scopes/internal/ActivationReplyObject.h'
1798--- include/unity/scopes/internal/ActivationReplyObject.h 2014-08-12 09:04:49 +0000
1799+++ include/unity/scopes/internal/ActivationReplyObject.h 2014-11-28 11:54:53 +0000
1800@@ -16,8 +16,7 @@
1801 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1802 */
1803
1804-#ifndef UNITY_SCOPES_INTERNAL_ACTIVATIONREPLYOBJECT_H
1805-#define UNITY_SCOPES_INTERNAL_ACTIVATIONREPLYOBJECT_H
1806+#pragma once
1807
1808 #include <unity/scopes/internal/ReplyObject.h>
1809 #include <unity/scopes/ActivationListenerBase.h>
1810@@ -47,5 +46,3 @@
1811 } // namespace scopes
1812
1813 } // namespace unity
1814-
1815-#endif
1816
1817=== modified file 'include/unity/scopes/internal/ActivationResponseImpl.h'
1818--- include/unity/scopes/internal/ActivationResponseImpl.h 2014-02-27 16:58:50 +0000
1819+++ include/unity/scopes/internal/ActivationResponseImpl.h 2014-11-28 11:54:53 +0000
1820@@ -16,8 +16,7 @@
1821 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1822 */
1823
1824-#ifndef UNITY_SCOPES_INTERNAL_ACTIVATIONRESPONSEIMPL_H
1825-#define UNITY_SCOPES_INTERNAL_ACTIVATIONRESPONSEIMPL_H
1826+#pragma once
1827
1828 #include <unity/scopes/ActivationResponse.h>
1829 #include <unity/scopes/CannedQuery.h>
1830@@ -64,5 +63,3 @@
1831 } // namespace scopes
1832
1833 } // namespace unity
1834-
1835-#endif
1836
1837=== modified file 'include/unity/scopes/internal/AnnotationImpl.h'
1838--- include/unity/scopes/internal/AnnotationImpl.h 2014-06-17 15:07:13 +0000
1839+++ include/unity/scopes/internal/AnnotationImpl.h 2014-11-28 11:54:53 +0000
1840@@ -16,8 +16,7 @@
1841 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1842 */
1843
1844-#ifndef UNITY_SCOPES_INTERNAL_ANNOTATIONIMPL_H
1845-#define UNITY_SCOPES_INTERNAL_ANNOTATIONIMPL_H
1846+#pragma once
1847
1848 #include <unity/scopes/CannedQuery.h>
1849 #include <unity/scopes/Variant.h>
1850@@ -65,5 +64,3 @@
1851 } // namespace scopes
1852
1853 } // namespace unity
1854-
1855-#endif
1856
1857=== modified file 'include/unity/scopes/internal/CannedQueryImpl.h'
1858--- include/unity/scopes/internal/CannedQueryImpl.h 2014-04-17 09:00:46 +0000
1859+++ include/unity/scopes/internal/CannedQueryImpl.h 2014-11-28 11:54:53 +0000
1860@@ -16,8 +16,7 @@
1861 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1862 */
1863
1864-#ifndef UNITY_SCOPES_INTERNAL_CANNEDQUERYIMPL_H
1865-#define UNITY_SCOPES_INTERNAL_CANNEDQUERYIMPL_H
1866+#pragma once
1867
1868 #include <unity/scopes/Variant.h>
1869 #include <unity/scopes/FilterState.h>
1870@@ -73,5 +72,3 @@
1871 } // namespace scopes
1872
1873 } // namespace unity
1874-
1875-#endif
1876
1877=== modified file 'include/unity/scopes/internal/CategorisedResultImpl.h'
1878--- include/unity/scopes/internal/CategorisedResultImpl.h 2014-02-14 17:00:04 +0000
1879+++ include/unity/scopes/internal/CategorisedResultImpl.h 2014-11-28 11:54:53 +0000
1880@@ -16,8 +16,7 @@
1881 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1882 */
1883
1884-#ifndef UNITY_SCOPES_INTERNAL_RESULTIMPL_H
1885-#define UNITY_SCOPES_INTERNAL_RESULTIMPL_H
1886+#pragma once
1887
1888 #include <string>
1889 #include <memory>
1890@@ -59,6 +58,3 @@
1891 } // namespace scopes
1892
1893 } // namespace unity
1894-
1895-
1896-#endif
1897
1898=== modified file 'include/unity/scopes/internal/CategoryImpl.h'
1899--- include/unity/scopes/internal/CategoryImpl.h 2014-07-02 09:36:34 +0000
1900+++ include/unity/scopes/internal/CategoryImpl.h 2014-11-28 11:54:53 +0000
1901@@ -16,8 +16,7 @@
1902 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1903 */
1904
1905-#ifndef UNITY_SCOPES_INTERNAL_CATEGORYIMPL_H
1906-#define UNITY_SCOPES_INTERNAL_CATEGORYIMPL_H
1907+#pragma once
1908
1909 #include <unity/util/NonCopyable.h>
1910 #include <unity/scopes/CannedQuery.h>
1911@@ -66,5 +65,3 @@
1912 } // namespace scopes
1913
1914 } // namespace unity
1915-
1916-#endif
1917
1918=== modified file 'include/unity/scopes/internal/CategoryRegistry.h'
1919--- include/unity/scopes/internal/CategoryRegistry.h 2014-07-02 09:36:34 +0000
1920+++ include/unity/scopes/internal/CategoryRegistry.h 2014-11-28 11:54:53 +0000
1921@@ -16,8 +16,7 @@
1922 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1923 */
1924
1925-#ifndef UNITY_SCOPES_INTERNAL_CATEGORYREGISTRY_H
1926-#define UNITY_SCOPES_INTERNAL_CATEGORYREGISTRY_H
1927+#pragma once
1928
1929 #include <unity/scopes/Category.h>
1930 #include <unity/scopes/Variant.h>
1931@@ -80,5 +79,3 @@
1932 } // namespace scopes
1933
1934 } // namespace unity
1935-
1936-#endif
1937
1938=== modified file 'include/unity/scopes/internal/CategoryRendererImpl.h'
1939--- include/unity/scopes/internal/CategoryRendererImpl.h 2014-02-25 08:50:33 +0000
1940+++ include/unity/scopes/internal/CategoryRendererImpl.h 2014-11-28 11:54:53 +0000
1941@@ -16,8 +16,7 @@
1942 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1943 */
1944
1945-#ifndef UNITY_SCOPES_INTERNAL_CATEGORYRENDERERIMPL_H
1946-#define UNITY_SCOPES_INTERNAL_CATEGORYRENDERERIMPL_H
1947+#pragma once
1948
1949 #include <unity/scopes/CategoryRenderer.h>
1950 #include <string>
1951@@ -48,5 +47,3 @@
1952 } // namespace scopes
1953
1954 } // namespace unity
1955-
1956-#endif
1957
1958=== modified file 'include/unity/scopes/internal/ColumnLayoutImpl.h'
1959--- include/unity/scopes/internal/ColumnLayoutImpl.h 2014-02-04 06:34:33 +0000
1960+++ include/unity/scopes/internal/ColumnLayoutImpl.h 2014-11-28 11:54:53 +0000
1961@@ -16,8 +16,7 @@
1962 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
1963 */
1964
1965-#ifndef UNITY_SCOPES_INTERNAL_COLUMNLAYOUTIMPL_H
1966-#define UNITY_SCOPES_INTERNAL_COLUMNLAYOUTIMPL_H
1967+#pragma once
1968
1969 #include <unity/scopes/ColumnLayout.h>
1970 #include <unity/scopes/Variant.h>
1971@@ -59,5 +58,3 @@
1972 } // namespace scopes
1973
1974 } // namespace unity
1975-
1976-#endif
1977
1978=== modified file 'include/unity/scopes/internal/CompletionDetailsImpl.h'
1979--- include/unity/scopes/internal/CompletionDetailsImpl.h 2014-07-29 05:07:27 +0000
1980+++ include/unity/scopes/internal/CompletionDetailsImpl.h 2014-11-28 11:54:53 +0000
1981@@ -16,8 +16,7 @@
1982 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
1983 */
1984
1985-#ifndef UNITY_INTERNAL_COMPLETIONDETAILSIMPL_H
1986-#define UNITY_INTERNAL_COMPLETIONDETAILSIMPL_H
1987+#pragma once
1988
1989 #include <unity/scopes/CompletionDetails.h>
1990
1991@@ -58,5 +57,3 @@
1992 } // namespace scopes
1993
1994 } // namespace unity
1995-
1996-#endif
1997
1998=== modified file 'include/unity/scopes/internal/ConfigBase.h'
1999--- include/unity/scopes/internal/ConfigBase.h 2014-05-15 08:20:14 +0000
2000+++ include/unity/scopes/internal/ConfigBase.h 2014-11-28 11:54:53 +0000
2001@@ -16,8 +16,7 @@
2002 * Authored by: Michi Henning <michi.henning@canonical.com>
2003 */
2004
2005-#ifndef UNITY_SCOPES_INTERNAL_CONFIGBASE_H
2006-#define UNITY_SCOPES_INTERNAL_CONFIGBASE_H
2007+#pragma once
2008
2009 #include <unity/util/IniParser.h>
2010
2011@@ -78,5 +77,3 @@
2012 } // namespace scopes
2013
2014 } // namespace unity
2015-
2016-#endif
2017
2018=== modified file 'include/unity/scopes/internal/DepartmentImpl.h'
2019--- include/unity/scopes/internal/DepartmentImpl.h 2014-05-30 08:56:47 +0000
2020+++ include/unity/scopes/internal/DepartmentImpl.h 2014-11-28 11:54:53 +0000
2021@@ -16,8 +16,7 @@
2022 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2023 */
2024
2025-#ifndef UNITY_INTERNAL_DEPARTMENTIMPL_H
2026-#define UNITY_INTERNAL_DEPARTMENTIMPL_H
2027+#pragma once
2028
2029 #include <unity/scopes/Department.h>
2030 #include <unity/scopes/CannedQuery.h>
2031@@ -75,5 +74,3 @@
2032 } // namespace scopes
2033
2034 } // namespace unity
2035-
2036-#endif
2037
2038=== modified file 'include/unity/scopes/internal/DfltConfig.h.in'
2039--- include/unity/scopes/internal/DfltConfig.h.in 2014-10-10 07:01:36 +0000
2040+++ include/unity/scopes/internal/DfltConfig.h.in 2014-11-28 11:54:53 +0000
2041@@ -16,8 +16,7 @@
2042 * Authored by: Michal Hruby <michal.hruby@canonical.com>
2043 */
2044
2045-#ifndef UNITY_SCOPES_DFLTCONFIG_H
2046-#define UNITY_SCOPES_DFLTCONFIG_H
2047+#pragma once
2048
2049 namespace unity
2050 {
2051@@ -59,5 +58,3 @@
2052 } // namespace scopes
2053
2054 } // namespace unity
2055-
2056-#endif
2057
2058=== modified file 'include/unity/scopes/internal/DynamicLoader.h'
2059--- include/unity/scopes/internal/DynamicLoader.h 2014-07-11 06:28:13 +0000
2060+++ include/unity/scopes/internal/DynamicLoader.h 2014-11-28 11:54:53 +0000
2061@@ -16,8 +16,7 @@
2062 * Authored by: Michi Henning <michi.henning@canonical.com>
2063 */
2064
2065-#ifndef UNITY_SCOPES_INTERNAL_DYNAMICLOADER_H
2066-#define UNITY_SCOPES_INTERNAL_DYNAMICLOADER_H
2067+#pragma once
2068
2069 #include <unity/util/DefinesPtrs.h>
2070 #include <unity/util/NonCopyable.h>
2071@@ -114,5 +113,3 @@
2072 } // namespace scopes
2073
2074 } // namespace unity
2075-
2076-#endif
2077
2078=== modified file 'include/unity/scopes/internal/Executor.h'
2079--- include/unity/scopes/internal/Executor.h 2014-05-22 08:45:05 +0000
2080+++ include/unity/scopes/internal/Executor.h 2014-11-28 11:54:53 +0000
2081@@ -16,8 +16,7 @@
2082 * Authored by: Pete Woods <pete.woods@canonical.com>
2083 */
2084
2085-#ifndef UNITY_SCOPES_INTERNAL_EXECUTOR_H_
2086-#define UNITY_SCOPES_INTERNAL_EXECUTOR_H_
2087+#pragma once
2088
2089 #include <core/posix/exec.h>
2090 #include <unity/util/DefinesPtrs.h>
2091@@ -26,8 +25,10 @@
2092
2093 namespace unity
2094 {
2095+
2096 namespace scopes
2097 {
2098+
2099 namespace internal
2100 {
2101
2102@@ -49,7 +50,7 @@
2103 };
2104
2105 } // namespace internal
2106+
2107 } // namespace scopes
2108+
2109 } // namespace unity
2110-
2111-#endif
2112
2113=== modified file 'include/unity/scopes/internal/FilterBaseImpl.h'
2114--- include/unity/scopes/internal/FilterBaseImpl.h 2014-05-19 09:32:27 +0000
2115+++ include/unity/scopes/internal/FilterBaseImpl.h 2014-11-28 11:54:53 +0000
2116@@ -16,8 +16,7 @@
2117 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2118 */
2119
2120-#ifndef UNITY_SCOPES_INTERNAL_FILTERBASEIMPL_H
2121-#define UNITY_SCOPES_INTERNAL_FILTERBASEIMPL_H
2122+#pragma once
2123
2124 #include <unity/scopes/Variant.h>
2125 #include <unity/scopes/FilterBase.h>
2126@@ -64,5 +63,3 @@
2127 } // namespace scopes
2128
2129 } // namespace unity
2130-
2131-#endif
2132
2133=== modified file 'include/unity/scopes/internal/FilterOptionImpl.h'
2134--- include/unity/scopes/internal/FilterOptionImpl.h 2014-02-18 05:04:01 +0000
2135+++ include/unity/scopes/internal/FilterOptionImpl.h 2014-11-28 11:54:53 +0000
2136@@ -16,8 +16,7 @@
2137 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2138 */
2139
2140-#ifndef UNITY_SCOPES_INTERNAL_FILTEROPTIONIMPL_H
2141-#define UNITY_SCOPES_INTERNAL_FILTEROPTIONIMPL_H
2142+#pragma once
2143
2144 #include <string>
2145
2146@@ -47,5 +46,3 @@
2147 } // namespace scopes
2148
2149 } // namespace unity
2150-
2151-#endif
2152
2153=== modified file 'include/unity/scopes/internal/FilterStateImpl.h'
2154--- include/unity/scopes/internal/FilterStateImpl.h 2014-02-04 06:34:33 +0000
2155+++ include/unity/scopes/internal/FilterStateImpl.h 2014-11-28 11:54:53 +0000
2156@@ -16,8 +16,7 @@
2157 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2158 */
2159
2160-#ifndef UNITY_SCOPES_INTERNAL_FILTERSTATEIMPL_H
2161-#define UNITY_SCOPES_INTERNAL_FILTERSTATEIMPL_H
2162+#pragma once
2163
2164 #include <unity/scopes/Variant.h>
2165 #include <unity/scopes/FilterState.h>
2166@@ -56,5 +55,3 @@
2167 } // namespace scopes
2168
2169 } // namespace unity
2170-
2171-#endif
2172
2173=== modified file 'include/unity/scopes/internal/IniSettingsSchema.h'
2174--- include/unity/scopes/internal/IniSettingsSchema.h 2014-08-14 07:48:12 +0000
2175+++ include/unity/scopes/internal/IniSettingsSchema.h 2014-11-28 11:54:53 +0000
2176@@ -16,8 +16,7 @@
2177 * Authored by: Michi Henning <michi.henning@canonical.com>
2178 */
2179
2180-#ifndef UNITY_SCOPES_INTERNAL_INISETTINGSSCHEMA_H
2181-#define UNITY_SCOPES_INTERNAL_INISETTINGSSCHEMA_H
2182+#pragma once
2183
2184 #include <unity/scopes/internal/SettingsSchema.h>
2185
2186@@ -63,5 +62,3 @@
2187 } // namespace scopes
2188
2189 } // namespace unity
2190-
2191-#endif
2192
2193=== modified file 'include/unity/scopes/internal/InvokeInfo.h'
2194--- include/unity/scopes/internal/InvokeInfo.h 2014-01-16 12:18:56 +0000
2195+++ include/unity/scopes/internal/InvokeInfo.h 2014-11-28 11:54:53 +0000
2196@@ -16,8 +16,7 @@
2197 * Authored by: Michi Henning <michi.henning@canonical.com>
2198 */
2199
2200-#ifndef UNITY_SCOPES_INTERNAL_INVOKEINFO_H
2201-#define UNITY_SCOPES_INTERNAL_INVOKEINFO_H
2202+#pragma once
2203
2204 #include <string>
2205
2206@@ -47,5 +46,3 @@
2207 } // namespace scopes
2208
2209 } // namespace unity
2210-
2211-#endif
2212
2213=== modified file 'include/unity/scopes/internal/JsonCppNode.h'
2214--- include/unity/scopes/internal/JsonCppNode.h 2014-08-04 06:31:27 +0000
2215+++ include/unity/scopes/internal/JsonCppNode.h 2014-11-28 11:54:53 +0000
2216@@ -16,8 +16,7 @@
2217 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
2218 */
2219
2220-#ifndef UNITY_SCOPES_INTERNAL_JSONCPPNODE_H
2221-#define UNITY_SCOPES_INTERNAL_JSONCPPNODE_H
2222+#pragma once
2223
2224 #include <unity/scopes/internal/JsonNodeInterface.h>
2225 #include <jsoncpp/json/value.h>
2226@@ -72,5 +71,3 @@
2227 } // namespace scopes
2228
2229 } // namespace unity
2230-
2231-#endif // UNITY_SCOPES_INTERNAL_JSONCPPNODE_H
2232
2233=== modified file 'include/unity/scopes/internal/JsonNodeInterface.h'
2234--- include/unity/scopes/internal/JsonNodeInterface.h 2014-08-04 06:31:27 +0000
2235+++ include/unity/scopes/internal/JsonNodeInterface.h 2014-11-28 11:54:53 +0000
2236@@ -16,8 +16,7 @@
2237 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
2238 */
2239
2240-#ifndef UNITY_SCOPES_INTERNAL_JSONNODEINTERFACE_H
2241-#define UNITY_SCOPES_INTERNAL_JSONNODEINTERFACE_H
2242+#pragma once
2243
2244 #include <unity/util/DefinesPtrs.h>
2245 #include <unity/util/NonCopyable.h>
2246@@ -76,5 +75,3 @@
2247 } // namespace scopes
2248
2249 } // namespace unity
2250-
2251-#endif // UNITY_SCOPES_INTERNAL_JSONNODEINTERFACE_H
2252
2253=== modified file 'include/unity/scopes/internal/JsonSettingsSchema.h'
2254--- include/unity/scopes/internal/JsonSettingsSchema.h 2014-08-14 07:48:12 +0000
2255+++ include/unity/scopes/internal/JsonSettingsSchema.h 2014-11-28 11:54:53 +0000
2256@@ -16,8 +16,7 @@
2257 * Authored by: Michi Henning <michi.henning@canonical.com>
2258 */
2259
2260-#ifndef UNITY_SCOPES_INTERNAL_JSONSETTINGSSCHEMA_H
2261-#define UNITY_SCOPES_INTERNAL_JSONSETTINGSSCHEMA_H
2262+#pragma once
2263
2264 #include <unity/scopes/internal/SettingsSchema.h>
2265
2266@@ -62,5 +61,3 @@
2267 } // namespace scopes
2268
2269 } // namespace unity
2270-
2271-#endif
2272
2273=== modified file 'include/unity/scopes/internal/LinkImpl.h'
2274--- include/unity/scopes/internal/LinkImpl.h 2014-02-27 16:58:50 +0000
2275+++ include/unity/scopes/internal/LinkImpl.h 2014-11-28 11:54:53 +0000
2276@@ -16,8 +16,7 @@
2277 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2278 */
2279
2280-#ifndef UNITY_SCOPES_INTERNAL_HYPERLINKIMPL_H
2281-#define UNITY_SCOPES_INTERNAL_HYPERLINKIMPL_H
2282+#pragma once
2283
2284 #include <string>
2285 #include <memory>
2286@@ -52,5 +51,3 @@
2287 } // namespace scopes
2288
2289 } // namespace unity
2290-
2291-#endif
2292
2293=== modified file 'include/unity/scopes/internal/LocationImpl.h'
2294--- include/unity/scopes/internal/LocationImpl.h 2014-08-28 00:20:56 +0000
2295+++ include/unity/scopes/internal/LocationImpl.h 2014-11-28 11:54:53 +0000
2296@@ -16,8 +16,7 @@
2297 * Authored by: Pete Woods <pete.woods@canonical.com>
2298 */
2299
2300-#ifndef UNITY_SCOPES_INTERNAL_LOCATIONIMPL_H
2301-#define UNITY_SCOPES_INTERNAL_LOCATIONIMPL_H
2302+#pragma once
2303
2304 #include <unity/scopes/Location.h>
2305
2306@@ -104,6 +103,3 @@
2307 } // namespace scopes
2308
2309 } // namespace unity
2310-
2311-
2312-#endif
2313
2314=== modified file 'include/unity/scopes/internal/MWObjectProxy.h'
2315--- include/unity/scopes/internal/MWObjectProxy.h 2014-05-29 15:41:42 +0000
2316+++ include/unity/scopes/internal/MWObjectProxy.h 2014-11-28 11:54:53 +0000
2317@@ -16,8 +16,7 @@
2318 * Authored by: Michi Henning <michi.henning@canonical.com>
2319 */
2320
2321-#ifndef UNITY_SCOPES_INTERNAL_MWOBJECTPROXY_H
2322-#define UNITY_SCOPES_INTERNAL_MWOBJECTPROXY_H
2323+#pragma once
2324
2325 #include <unity/scopes/internal/MWObjectProxyFwd.h>
2326
2327@@ -64,5 +63,3 @@
2328 } // namespace scopes
2329
2330 } // namespace unity
2331-
2332-#endif
2333
2334=== modified file 'include/unity/scopes/internal/MWObjectProxyFwd.h'
2335--- include/unity/scopes/internal/MWObjectProxyFwd.h 2014-01-15 09:22:20 +0000
2336+++ include/unity/scopes/internal/MWObjectProxyFwd.h 2014-11-28 11:54:53 +0000
2337@@ -16,8 +16,7 @@
2338 * Authored by: Michi Henning <michi.henning@canonical.com>
2339 */
2340
2341-#ifndef UNITY_SCOPES_INTERNAL_MWOBJECTPROXYFWD_H
2342-#define UNITY_SCOPES_INTERNAL_MWOBJECTPROXYFWD_H
2343+#pragma once
2344
2345 #include <memory>
2346
2347@@ -38,5 +37,3 @@
2348 } // namespace scopes
2349
2350 } // namespace unity
2351-
2352-#endif
2353
2354=== modified file 'include/unity/scopes/internal/MWPublisher.h'
2355--- include/unity/scopes/internal/MWPublisher.h 2014-08-04 06:31:27 +0000
2356+++ include/unity/scopes/internal/MWPublisher.h 2014-11-28 11:54:53 +0000
2357@@ -16,8 +16,7 @@
2358 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
2359 */
2360
2361-#ifndef UNITY_SCOPES_INTERNAL_MWPUBLISHER_H
2362-#define UNITY_SCOPES_INTERNAL_MWPUBLISHER_H
2363+#pragma once
2364
2365 #include <unity/util/DefinesPtrs.h>
2366 #include <unity/util/NonCopyable.h>
2367@@ -53,5 +52,3 @@
2368 } // namespace scopes
2369
2370 } // namespace unity
2371-
2372-#endif // UNITY_SCOPES_INTERNAL_MWPUBLISHER_H
2373
2374=== modified file 'include/unity/scopes/internal/MWQuery.h'
2375--- include/unity/scopes/internal/MWQuery.h 2014-01-23 11:28:34 +0000
2376+++ include/unity/scopes/internal/MWQuery.h 2014-11-28 11:54:53 +0000
2377@@ -16,8 +16,7 @@
2378 * Authored by: Michi Henning <michi.henning@canonical.com>
2379 */
2380
2381-#ifndef UNITY_SCOPES_INTERNAL_MWQUERY_H
2382-#define UNITY_SCOPES_INTERNAL_MWQUERY_H
2383+#pragma once
2384
2385 #include <unity/scopes/internal/MWObjectProxy.h>
2386 #include <unity/scopes/internal/MWReplyProxyFwd.h>
2387@@ -47,5 +46,3 @@
2388 } // namespace scopes
2389
2390 } // namespace unity
2391-
2392-#endif
2393
2394=== modified file 'include/unity/scopes/internal/MWQueryCtrl.h'
2395--- include/unity/scopes/internal/MWQueryCtrl.h 2014-01-23 11:28:34 +0000
2396+++ include/unity/scopes/internal/MWQueryCtrl.h 2014-11-28 11:54:53 +0000
2397@@ -16,8 +16,7 @@
2398 * Authored by: Michi Henning <michi.henning@canonical.com>
2399 */
2400
2401-#ifndef UNITY_SCOPES_INTERNAL_MWQUERYCTRL_H
2402-#define UNITY_SCOPES_INTERNAL_MWQUERYCTRL_H
2403+#pragma once
2404
2405 #include <unity/scopes/internal/MWObjectProxy.h>
2406 #include <unity/scopes/internal/MWQueryCtrlProxyFwd.h>
2407@@ -48,5 +47,3 @@
2408 } // namespace scopes
2409
2410 } // namespace unity
2411-
2412-#endif
2413
2414=== modified file 'include/unity/scopes/internal/MWQueryCtrlProxyFwd.h'
2415--- include/unity/scopes/internal/MWQueryCtrlProxyFwd.h 2013-12-19 14:03:24 +0000
2416+++ include/unity/scopes/internal/MWQueryCtrlProxyFwd.h 2014-11-28 11:54:53 +0000
2417@@ -16,8 +16,7 @@
2418 * Authored by: Michi Henning <michi.henning@canonical.com>
2419 */
2420
2421-#ifndef UNITY_SCOPES_INTERNAL_MWQUERYCTRLPROXYFWD_H
2422-#define UNITY_SCOPES_INTERNAL_MWQUERYCTRLPROXYFWD_H
2423+#pragma once
2424
2425 #include <memory>
2426
2427@@ -38,5 +37,3 @@
2428 } // namespace scopes
2429
2430 } // namespace unity
2431-
2432-#endif
2433
2434=== modified file 'include/unity/scopes/internal/MWQueryProxyFwd.h'
2435--- include/unity/scopes/internal/MWQueryProxyFwd.h 2013-12-19 14:03:24 +0000
2436+++ include/unity/scopes/internal/MWQueryProxyFwd.h 2014-11-28 11:54:53 +0000
2437@@ -16,8 +16,7 @@
2438 * Authored by: Michi Henning <michi.henning@canonical.com>
2439 */
2440
2441-#ifndef UNITY_SCOPES_INTERNAL_MWQUERYPROXYFWD_H
2442-#define UNITY_SCOPES_INTERNAL_MWQUERYPROXYFWD_H
2443+#pragma once
2444
2445 #include <memory>
2446
2447@@ -38,5 +37,3 @@
2448 } // namespace scopes
2449
2450 } // namespace unity
2451-
2452-#endif
2453
2454=== modified file 'include/unity/scopes/internal/MWRegistry.h'
2455--- include/unity/scopes/internal/MWRegistry.h 2014-08-12 05:36:06 +0000
2456+++ include/unity/scopes/internal/MWRegistry.h 2014-11-28 11:54:53 +0000
2457@@ -16,8 +16,7 @@
2458 * Authored by: Michi Henning <michi.henning@canonical.com>
2459 */
2460
2461-#ifndef UNITY_SCOPES_INTERNAL_MWREGISTRY_H
2462-#define UNITY_SCOPES_INTERNAL_MWREGISTRY_H
2463+#pragma once
2464
2465 #include <unity/scopes/internal/MWObjectProxy.h>
2466 #include <unity/scopes/internal/MWSubscriber.h>
2467@@ -63,5 +62,3 @@
2468 } // namespace scopes
2469
2470 } // namespace unity
2471-
2472-#endif
2473
2474=== modified file 'include/unity/scopes/internal/MWRegistryProxyFwd.h'
2475--- include/unity/scopes/internal/MWRegistryProxyFwd.h 2013-12-19 14:03:24 +0000
2476+++ include/unity/scopes/internal/MWRegistryProxyFwd.h 2014-11-28 11:54:53 +0000
2477@@ -16,8 +16,7 @@
2478 * Authored by: Michi Henning <michi.henning@canonical.com>
2479 */
2480
2481-#ifndef UNITY_SCOPES_INTERNAL_MWREGISTRYPROXYFWD_H
2482-#define UNITY_SCOPES_INTERNAL_MWREGISTRYPROXYFWD_H
2483+#pragma once
2484
2485 #include <memory>
2486
2487@@ -38,5 +37,3 @@
2488 } // namespace scopes
2489
2490 } // namespace unity
2491-
2492-#endif
2493
2494=== modified file 'include/unity/scopes/internal/MWReply.h'
2495--- include/unity/scopes/internal/MWReply.h 2014-07-28 07:18:52 +0000
2496+++ include/unity/scopes/internal/MWReply.h 2014-11-28 11:54:53 +0000
2497@@ -16,8 +16,7 @@
2498 * Authored by: Michi Henning <michi.henning@canonical.com>
2499 */
2500
2501-#ifndef UNITY_SCOPES_INTERNAL_MWREPLY_H
2502-#define UNITY_SCOPES_INTERNAL_MWREPLY_H
2503+#pragma once
2504
2505 #include <unity/scopes/internal/MWObjectProxy.h>
2506 #include <unity/scopes/internal/MWReplyProxyFwd.h>
2507@@ -53,5 +52,3 @@
2508 } // namespace scopes
2509
2510 } // namespace unity
2511-
2512-#endif
2513
2514=== modified file 'include/unity/scopes/internal/MWReplyProxyFwd.h'
2515--- include/unity/scopes/internal/MWReplyProxyFwd.h 2013-12-19 14:03:24 +0000
2516+++ include/unity/scopes/internal/MWReplyProxyFwd.h 2014-11-28 11:54:53 +0000
2517@@ -16,8 +16,7 @@
2518 * Authored by: Michi Henning <michi.henning@canonical.com>
2519 */
2520
2521-#ifndef UNITY_SCOPES_INTERNAL_MWREPLYPROXYFWD_H
2522-#define UNITY_SCOPES_INTERNAL_MWREPLYPROXYFWD_H
2523+#pragma once
2524
2525 #include <memory>
2526
2527@@ -38,5 +37,3 @@
2528 } // namespace scopes
2529
2530 } // namespace unity
2531-
2532-#endif
2533
2534=== modified file 'include/unity/scopes/internal/MWScope.h'
2535--- include/unity/scopes/internal/MWScope.h 2014-08-12 09:04:49 +0000
2536+++ include/unity/scopes/internal/MWScope.h 2014-11-28 11:54:53 +0000
2537@@ -16,8 +16,7 @@
2538 * Authored by: Michi Henning <michi.henning@canonical.com>
2539 */
2540
2541-#ifndef UNITY_SCOPES_INTERNAL_MWSCOPE_H
2542-#define UNITY_SCOPES_INTERNAL_MWSCOPE_H
2543+#pragma once
2544
2545 #include <unity/scopes/internal/MWObjectProxy.h>
2546 #include <unity/scopes/internal/MWReplyProxyFwd.h>
2547@@ -55,5 +54,3 @@
2548 } // namespace scopes
2549
2550 } // namespace unity
2551-
2552-#endif
2553
2554=== modified file 'include/unity/scopes/internal/MWScopeProxyFwd.h'
2555--- include/unity/scopes/internal/MWScopeProxyFwd.h 2013-12-19 14:03:24 +0000
2556+++ include/unity/scopes/internal/MWScopeProxyFwd.h 2014-11-28 11:54:53 +0000
2557@@ -16,8 +16,7 @@
2558 * Authored by: Michi Henning <michi.henning@canonical.com>
2559 */
2560
2561-#ifndef UNITY_SCOPES_INTERNAL_MWSCOPEPROXYFWD_H
2562-#define UNITY_SCOPES_INTERNAL_MWSCOPEPROXYFWD_H
2563+#pragma once
2564
2565 #include <memory>
2566
2567@@ -38,5 +37,3 @@
2568 } // namespace scopes
2569
2570 } // namespace unity
2571-
2572-#endif
2573
2574=== modified file 'include/unity/scopes/internal/MWStateReceiver.h'
2575--- include/unity/scopes/internal/MWStateReceiver.h 2014-04-02 09:24:02 +0000
2576+++ include/unity/scopes/internal/MWStateReceiver.h 2014-11-28 11:54:53 +0000
2577@@ -16,8 +16,7 @@
2578 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
2579 */
2580
2581-#ifndef UNITY_SCOPES_INTERNAL_MWSTATERECEIVER_H
2582-#define UNITY_SCOPES_INTERNAL_MWSTATERECEIVER_H
2583+#pragma once
2584
2585 #include <unity/scopes/internal/MWObjectProxy.h>
2586 #include <unity/scopes/internal/StateReceiverObject.h>
2587@@ -47,5 +46,3 @@
2588 } // namespace scopes
2589
2590 } // namespace unity
2591-
2592-#endif // UNITY_SCOPES_INTERNAL_MWSTATERECEIVER_H
2593
2594=== modified file 'include/unity/scopes/internal/MWStateReceiverProxyFwd.h'
2595--- include/unity/scopes/internal/MWStateReceiverProxyFwd.h 2014-04-02 09:24:02 +0000
2596+++ include/unity/scopes/internal/MWStateReceiverProxyFwd.h 2014-11-28 11:54:53 +0000
2597@@ -16,8 +16,7 @@
2598 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
2599 */
2600
2601-#ifndef UNITY_SCOPES_INTERNAL_MWSTATERECEIVERPROXYFWD_H
2602-#define UNITY_SCOPES_INTERNAL_MWSTATERECEIVERPROXYFWD_H
2603+#pragma once
2604
2605 #include <memory>
2606
2607@@ -38,5 +37,3 @@
2608 } // namespace scopes
2609
2610 } // namespace unity
2611-
2612-#endif // UNITY_SCOPES_INTERNAL_MWSTATERECEIVERPROXYFWD_H
2613
2614=== modified file 'include/unity/scopes/internal/MWSubscriber.h'
2615--- include/unity/scopes/internal/MWSubscriber.h 2014-06-04 17:49:34 +0000
2616+++ include/unity/scopes/internal/MWSubscriber.h 2014-11-28 11:54:53 +0000
2617@@ -16,8 +16,7 @@
2618 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
2619 */
2620
2621-#ifndef UNITY_SCOPES_INTERNAL_MWSUBSCRIBER_H
2622-#define UNITY_SCOPES_INTERNAL_MWSUBSCRIBER_H
2623+#pragma once
2624
2625 #include <core/signal.h>
2626 #include <unity/util/DefinesPtrs.h>
2627@@ -54,5 +53,3 @@
2628 } // namespace scopes
2629
2630 } // namespace unity
2631-
2632-#endif // UNITY_SCOPES_INTERNAL_MWSUBSCRIBER_H
2633
2634=== modified file 'include/unity/scopes/internal/MiddlewareBase.h'
2635--- include/unity/scopes/internal/MiddlewareBase.h 2014-08-08 14:06:59 +0000
2636+++ include/unity/scopes/internal/MiddlewareBase.h 2014-11-28 11:54:53 +0000
2637@@ -16,8 +16,7 @@
2638 * Authored by: Michi Henning <michi.henning@canonical.com>
2639 */
2640
2641-#ifndef UNITY_SCOPES_INTERNAL_MIDDLEWAREBASE_H
2642-#define UNITY_SCOPES_INTERNAL_MIDDLEWAREBASE_H
2643+#pragma once
2644
2645 #include <unity/scopes/internal/MWObjectProxyFwd.h>
2646 #include <unity/scopes/internal/MWPublisher.h>
2647@@ -104,5 +103,3 @@
2648 } // namespace scopes
2649
2650 } // namespace unity
2651-
2652-#endif
2653
2654=== modified file 'include/unity/scopes/internal/MiddlewareFactory.h'
2655--- include/unity/scopes/internal/MiddlewareFactory.h 2014-08-12 05:55:54 +0000
2656+++ include/unity/scopes/internal/MiddlewareFactory.h 2014-11-28 11:54:53 +0000
2657@@ -16,8 +16,7 @@
2658 * Authored by: Michi Henning <michi.henning@canonical.com>
2659 */
2660
2661-#ifndef UNITY_SCOPES_INTERNAL_MIDDLEWAREFACTORY_H
2662-#define UNITY_SCOPES_INTERNAL_MIDDLEWAREFACTORY_H
2663+#pragma once
2664
2665 #include <unity/scopes/internal/MiddlewareBase.h>
2666
2667@@ -94,5 +93,3 @@
2668 } // namespace scopes
2669
2670 } // namespace unity
2671-
2672-#endif
2673
2674=== modified file 'include/unity/scopes/internal/ObjectImpl.h'
2675--- include/unity/scopes/internal/ObjectImpl.h 2014-05-29 15:41:42 +0000
2676+++ include/unity/scopes/internal/ObjectImpl.h 2014-11-28 11:54:53 +0000
2677@@ -16,8 +16,7 @@
2678 * Authored by: Michi Henning <michi.henning@canonical.com>
2679 */
2680
2681-#ifndef UNITY_SCOPES_INTERNAL_OBJECTIMPL_H
2682-#define UNITY_SCOPES_INTERNAL_OBJECTIMPL_H
2683+#pragma once
2684
2685 #include<unity/scopes/internal/MWObjectProxyFwd.h>
2686 #include<unity/scopes/Object.h>
2687@@ -68,5 +67,3 @@
2688 } // namespace scopes
2689
2690 } // namespace unity
2691-
2692-#endif
2693
2694=== modified file 'include/unity/scopes/internal/OnlineAccountClientImpl.h'
2695--- include/unity/scopes/internal/OnlineAccountClientImpl.h 2014-10-13 15:13:12 +0000
2696+++ include/unity/scopes/internal/OnlineAccountClientImpl.h 2014-11-28 11:54:53 +0000
2697@@ -16,8 +16,7 @@
2698 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
2699 */
2700
2701-#ifndef UNITY_SCOPES_INTERNAL_ONLINEACCOUNTCLIENTIMPL_H
2702-#define UNITY_SCOPES_INTERNAL_ONLINEACCOUNTCLIENTIMPL_H
2703+#pragma once
2704
2705 #include <unity/scopes/OnlineAccountClient.h>
2706
2707@@ -127,5 +126,3 @@
2708 } // namespace scopes
2709
2710 } // namespace unity
2711-
2712-#endif
2713
2714=== modified file 'include/unity/scopes/internal/OperationInfoImpl.h'
2715--- include/unity/scopes/internal/OperationInfoImpl.h 2014-07-28 05:22:59 +0000
2716+++ include/unity/scopes/internal/OperationInfoImpl.h 2014-11-28 11:54:53 +0000
2717@@ -16,8 +16,7 @@
2718 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
2719 */
2720
2721-#ifndef UNITY_INTERNAL_OPERATIONINFOIMPL_H
2722-#define UNITY_INTERNAL_OPERATIONINFOIMPL_H
2723+#pragma once
2724
2725 #include <unity/scopes/OperationInfo.h>
2726
2727@@ -55,5 +54,3 @@
2728 } // namespace scopes
2729
2730 } // namespace unity
2731-
2732-#endif
2733
2734=== modified file 'include/unity/scopes/internal/OptionSelectorFilterImpl.h'
2735--- include/unity/scopes/internal/OptionSelectorFilterImpl.h 2014-05-19 09:54:37 +0000
2736+++ include/unity/scopes/internal/OptionSelectorFilterImpl.h 2014-11-28 11:54:53 +0000
2737@@ -16,8 +16,7 @@
2738 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2739 */
2740
2741-#ifndef UNITY_SCOPES_INTERNAL_OPTIONSELECTORFILTERIMPL_H
2742-#define UNITY_SCOPES_INTERNAL_OPTIONSELECTORFILTERIMPL_H
2743+#pragma once
2744
2745 #include <unity/scopes/internal/FilterBaseImpl.h>
2746 #include <unity/scopes/OptionSelectorFilter.h>
2747@@ -69,5 +68,3 @@
2748 } // namespace scopes
2749
2750 } // namespace unity
2751-
2752-#endif
2753
2754=== modified file 'include/unity/scopes/internal/PreviewQueryBaseImpl.h'
2755--- include/unity/scopes/internal/PreviewQueryBaseImpl.h 2014-06-13 15:12:44 +0000
2756+++ include/unity/scopes/internal/PreviewQueryBaseImpl.h 2014-11-28 11:54:53 +0000
2757@@ -16,8 +16,7 @@
2758 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2759 */
2760
2761-#ifndef UNITY_INTERNAL_PREVIEWQUERYBASEIMPL_H
2762-#define UNITY_INTERNAL_PREVIEWQUERYBASEIMPL_H
2763+#pragma once
2764
2765 #include <unity/scopes/internal/QueryBaseImpl.h>
2766 #include <unity/scopes/Result.h>
2767@@ -54,5 +53,3 @@
2768 } // namespace scopes
2769
2770 } // namespace unity
2771-
2772-#endif
2773
2774=== modified file 'include/unity/scopes/internal/PreviewQueryObject.h'
2775--- include/unity/scopes/internal/PreviewQueryObject.h 2014-02-27 23:09:51 +0000
2776+++ include/unity/scopes/internal/PreviewQueryObject.h 2014-11-28 11:54:53 +0000
2777@@ -16,8 +16,7 @@
2778 * Authored by: Michal Hruby <michal.hruby@canonical.com>
2779 */
2780
2781-#ifndef UNITY_SCOPES_INTERNAL_PREVIEWQUERYOBJECT_H
2782-#define UNITY_SCOPES_INTERNAL_PREVIEWQUERYOBJECT_H
2783+#pragma once
2784
2785 #include <unity/scopes/internal/QueryObject.h>
2786 #include <unity/scopes/PreviewQueryBase.h>
2787@@ -51,5 +50,3 @@
2788 } // namespace scopes
2789
2790 } // namespace unity
2791-
2792-#endif
2793
2794=== modified file 'include/unity/scopes/internal/PreviewReplyImpl.h'
2795--- include/unity/scopes/internal/PreviewReplyImpl.h 2014-03-07 10:54:15 +0000
2796+++ include/unity/scopes/internal/PreviewReplyImpl.h 2014-11-28 11:54:53 +0000
2797@@ -16,8 +16,7 @@
2798 * Authored by: Michi Henning <michi.henning@canonical.com>
2799 */
2800
2801-#ifndef UNITY_SCOPES_INTERNAL_PREVIEWREPLYIMPL_H
2802-#define UNITY_SCOPES_INTERNAL_PREVIEWREPLYIMPL_H
2803+#pragma once
2804
2805 #include <unity/scopes/ColumnLayout.h>
2806 #include <unity/scopes/internal/MWReplyProxyFwd.h>
2807@@ -55,5 +54,3 @@
2808 } // namespace scopes
2809
2810 } // namespace unity
2811-
2812-#endif
2813
2814=== modified file 'include/unity/scopes/internal/PreviewReplyObject.h'
2815--- include/unity/scopes/internal/PreviewReplyObject.h 2014-08-12 09:04:49 +0000
2816+++ include/unity/scopes/internal/PreviewReplyObject.h 2014-11-28 11:54:53 +0000
2817@@ -16,8 +16,7 @@
2818 * Authored by: Michi Henning <michi.henning@canonical.com>
2819 */
2820
2821-#ifndef UNITY_SCOPES_INTERNAL_PREVIEWREPLYOBJECT_H
2822-#define UNITY_SCOPES_INTERNAL_PREVIEWREPLYOBJECT_H
2823+#pragma once
2824
2825 #include <unity/scopes/internal/ReplyObject.h>
2826 #include <unity/scopes/internal/CategoryRegistry.h>
2827@@ -52,5 +51,3 @@
2828 } // namespace scopes
2829
2830 } // namespace unity
2831-
2832-#endif
2833
2834=== modified file 'include/unity/scopes/internal/PreviewWidgetImpl.h'
2835--- include/unity/scopes/internal/PreviewWidgetImpl.h 2014-08-20 14:11:00 +0000
2836+++ include/unity/scopes/internal/PreviewWidgetImpl.h 2014-11-28 11:54:53 +0000
2837@@ -16,8 +16,7 @@
2838 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2839 */
2840
2841-#ifndef UNITY_SCOPES_INTERNAL_PREVIEWWIDGETIMPL_H
2842-#define UNITY_SCOPES_INTERNAL_PREVIEWWIDGETIMPL_H
2843+#pragma once
2844
2845 #include <unity/scopes/PreviewWidget.h>
2846 #include <string>
2847@@ -73,5 +72,3 @@
2848 } // namespace scopes
2849
2850 } // namespace unity
2851-
2852-#endif
2853
2854=== modified file 'include/unity/scopes/internal/QueryBaseImpl.h'
2855--- include/unity/scopes/internal/QueryBaseImpl.h 2014-06-24 11:11:11 +0000
2856+++ include/unity/scopes/internal/QueryBaseImpl.h 2014-11-28 11:54:53 +0000
2857@@ -16,8 +16,7 @@
2858 * Authored by: Michi Henning <michi.henning@canonical.com>
2859 */
2860
2861-#ifndef UNITY_SCOPES_INTERNAL_QUERYBASEIMPL_H
2862-#define UNITY_SCOPES_INTERNAL_QUERYBASEIMPL_H
2863+#pragma once
2864
2865 #include <unity/scopes/Variant.h>
2866
2867@@ -56,5 +55,3 @@
2868 } // namespace scopes
2869
2870 } // namespace unity
2871-
2872-#endif
2873
2874=== modified file 'include/unity/scopes/internal/QueryCtrlImpl.h'
2875--- include/unity/scopes/internal/QueryCtrlImpl.h 2014-03-11 02:02:23 +0000
2876+++ include/unity/scopes/internal/QueryCtrlImpl.h 2014-11-28 11:54:53 +0000
2877@@ -16,8 +16,7 @@
2878 * Authored by: Michi Henning <michi.henning@canonical.com>
2879 */
2880
2881-#ifndef UNITY_SCOPES_INTERNAL_QUERYCTRLIMPL_H
2882-#define UNITY_SCOPES_INTERNAL_QUERYCTRLIMPL_H
2883+#pragma once
2884
2885 #include <unity/scopes/internal/MWQueryCtrlProxyFwd.h>
2886 #include <unity/scopes/internal/MWReplyProxyFwd.h>
2887@@ -61,5 +60,3 @@
2888 } // namespace scopes
2889
2890 } // namespace unity
2891-
2892-#endif
2893
2894=== modified file 'include/unity/scopes/internal/QueryCtrlObject.h'
2895--- include/unity/scopes/internal/QueryCtrlObject.h 2014-01-24 02:13:35 +0000
2896+++ include/unity/scopes/internal/QueryCtrlObject.h 2014-11-28 11:54:53 +0000
2897@@ -16,8 +16,7 @@
2898 * Authored by: Michi Henning <michi.henning@canonical.com>
2899 */
2900
2901-#ifndef UNITY_SCOPES_INTERNAL_QUERYCTRLOBJECT_H
2902-#define UNITY_SCOPES_INTERNAL_QUERYCTRLOBJECT_H
2903+#pragma once
2904
2905 #include <unity/scopes/internal/QueryCtrlObjectBase.h>
2906
2907@@ -60,5 +59,3 @@
2908 } // namespace scopes
2909
2910 } // namespace unity
2911-
2912-#endif
2913
2914=== modified file 'include/unity/scopes/internal/QueryCtrlObjectBase.h'
2915--- include/unity/scopes/internal/QueryCtrlObjectBase.h 2014-01-24 02:13:35 +0000
2916+++ include/unity/scopes/internal/QueryCtrlObjectBase.h 2014-11-28 11:54:53 +0000
2917@@ -16,8 +16,7 @@
2918 * Authored by: Michi Henning <michi.henning@canonical.com>
2919 */
2920
2921-#ifndef UNITY_SCOPES_INTERNAL_QUERYCTRLOBJECTBASE_H
2922-#define UNITY_SCOPES_INTERNAL_QUERYCTRLOBJECTBASE_H
2923+#pragma once
2924
2925 #include <unity/scopes/internal/AbstractObject.h>
2926 #include <unity/scopes/internal/InvokeInfo.h>
2927@@ -45,5 +44,3 @@
2928 } // namespace scopes
2929
2930 } // namespace unity
2931-
2932-#endif
2933
2934=== modified file 'include/unity/scopes/internal/QueryMetadataImpl.h'
2935--- include/unity/scopes/internal/QueryMetadataImpl.h 2014-09-02 15:47:35 +0000
2936+++ include/unity/scopes/internal/QueryMetadataImpl.h 2014-11-28 11:54:53 +0000
2937@@ -16,8 +16,7 @@
2938 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2939 */
2940
2941-#ifndef UNITY_INTERNAL_QUERYMETADATAIMPL_H
2942-#define UNITY_INTERNAL_QUERYMETADATAIMPL_H
2943+#pragma once
2944
2945 #include <unity/scopes/QueryMetadata.h>
2946 #include <unity/scopes/Variant.h>
2947@@ -76,5 +75,3 @@
2948 } // namespace scopes
2949
2950 } // namespace unity
2951-
2952-#endif
2953
2954=== modified file 'include/unity/scopes/internal/QueryObject.h'
2955--- include/unity/scopes/internal/QueryObject.h 2014-04-15 03:29:43 +0000
2956+++ include/unity/scopes/internal/QueryObject.h 2014-11-28 11:54:53 +0000
2957@@ -16,8 +16,7 @@
2958 * Authored by: Michi Henning <michi.henning@canonical.com>
2959 */
2960
2961-#ifndef UNITY_SCOPES_INTERNAL_QUERYOBJECT_H
2962-#define UNITY_SCOPES_INTERNAL_QUERYOBJECT_H
2963+#pragma once
2964
2965 #include <unity/scopes/internal/QueryObjectBase.h>
2966 #include <unity/scopes/internal/MWReplyProxyFwd.h>
2967@@ -80,5 +79,3 @@
2968 } // namespace scopes
2969
2970 } // namespace unity
2971-
2972-#endif
2973
2974=== modified file 'include/unity/scopes/internal/QueryObjectBase.h'
2975--- include/unity/scopes/internal/QueryObjectBase.h 2014-02-19 04:18:26 +0000
2976+++ include/unity/scopes/internal/QueryObjectBase.h 2014-11-28 11:54:53 +0000
2977@@ -16,8 +16,7 @@
2978 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2979 */
2980
2981-#ifndef UNITY_SCOPES_INTERNAL_QUERYOBJECTBASE_H
2982-#define UNITY_SCOPES_INTERNAL_QUERYOBJECTBASE_H
2983+#pragma once
2984
2985 #include <unity/scopes/internal/AbstractObject.h>
2986 #include <unity/scopes/internal/InvokeInfo.h>
2987@@ -54,5 +53,3 @@
2988 } // namespace scopes
2989
2990 } // namespace unity
2991-
2992-#endif
2993
2994=== modified file 'include/unity/scopes/internal/RadioButtonsFilterImpl.h'
2995--- include/unity/scopes/internal/RadioButtonsFilterImpl.h 2014-06-17 10:30:03 +0000
2996+++ include/unity/scopes/internal/RadioButtonsFilterImpl.h 2014-11-28 11:54:53 +0000
2997@@ -16,8 +16,7 @@
2998 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
2999 */
3000
3001-#ifndef UNITY_INTERNAL_RADIOBUTTONSFILTERIMPL_H
3002-#define UNITY_INTERNAL_RADIOBUTTONSFILTERIMPL_H
3003+#pragma once
3004
3005 #include <unity/scopes/internal/OptionSelectorFilterImpl.h>
3006 #include <unity/scopes/RadioButtonsFilter.h>
3007@@ -48,5 +47,3 @@
3008 } // namespace scopes
3009
3010 } // namespace unity
3011-
3012-#endif
3013
3014=== modified file 'include/unity/scopes/internal/RangeInputFilterImpl.h'
3015--- include/unity/scopes/internal/RangeInputFilterImpl.h 2014-06-17 10:30:03 +0000
3016+++ include/unity/scopes/internal/RangeInputFilterImpl.h 2014-11-28 11:54:53 +0000
3017@@ -16,8 +16,7 @@
3018 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3019 */
3020
3021-#ifndef UNITY_INTERNAL_RANGEINPUTFILTERIMPL_H
3022-#define UNITY_INTERNAL_RANGEINPUTFILTERIMPL_H
3023+#pragma once
3024
3025 #include <unity/scopes/internal/FilterBaseImpl.h>
3026 #include <unity/scopes/RangeInputFilter.h>
3027@@ -74,5 +73,3 @@
3028 } // namespace scopes
3029
3030 } // namespace unity
3031-
3032-#endif
3033
3034=== modified file 'include/unity/scopes/internal/RatingFilterImpl.h'
3035--- include/unity/scopes/internal/RatingFilterImpl.h 2014-06-17 10:30:03 +0000
3036+++ include/unity/scopes/internal/RatingFilterImpl.h 2014-11-28 11:54:53 +0000
3037@@ -16,8 +16,7 @@
3038 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3039 */
3040
3041-#ifndef UNITY_INTERNAL_RATINGFILTERIMPL_H
3042-#define UNITY_INTERNAL_RATINGFILTERIMPL_H
3043+#pragma once
3044
3045 #include <unity/scopes/internal/RadioButtonsFilterImpl.h>
3046 #include <unity/scopes/RatingFilter.h>
3047@@ -62,5 +61,3 @@
3048 } // namespace scopes
3049
3050 } // namespace unity
3051-
3052-#endif
3053
3054=== modified file 'include/unity/scopes/internal/Reaper.h'
3055--- include/unity/scopes/internal/Reaper.h 2014-09-08 03:45:56 +0000
3056+++ include/unity/scopes/internal/Reaper.h 2014-11-28 11:54:53 +0000
3057@@ -16,8 +16,7 @@
3058 * Authored by: Michi Henning <michi.henning@canonical.com>
3059 */
3060
3061-#ifndef UNITY_SCOPES_INTERNAL_REAPER_H
3062-#define UNITY_SCOPES_INTERNAL_REAPER_H
3063+#pragma once
3064
3065 #include <unity/util/DefinesPtrs.h>
3066 #include <unity/util/NonCopyable.h>
3067@@ -212,5 +211,3 @@
3068 } // namespace scopes
3069
3070 } // namespace unity
3071-
3072-#endif
3073
3074=== modified file 'include/unity/scopes/internal/RegistryConfig.h'
3075--- include/unity/scopes/internal/RegistryConfig.h 2014-05-08 06:25:40 +0000
3076+++ include/unity/scopes/internal/RegistryConfig.h 2014-11-28 11:54:53 +0000
3077@@ -16,8 +16,7 @@
3078 * Authored by: Michi Henning <michi.henning@canonical.com>
3079 */
3080
3081-#ifndef UNITY_SCOPES_INTERNAL_REGISTRYCONFIG_H
3082-#define UNITY_SCOPES_INTERNAL_REGISTRYCONFIG_H
3083+#pragma once
3084
3085 #include <unity/scopes/internal/ConfigBase.h>
3086
3087@@ -61,5 +60,3 @@
3088 } // namespace scopes
3089
3090 } // namespace unity
3091-
3092-#endif
3093
3094=== modified file 'include/unity/scopes/internal/RegistryException.h'
3095--- include/unity/scopes/internal/RegistryException.h 2014-02-18 05:04:01 +0000
3096+++ include/unity/scopes/internal/RegistryException.h 2014-11-28 11:54:53 +0000
3097@@ -16,8 +16,7 @@
3098 * Authored by: Michi Henning <michi.henning@canonical.com>
3099 */
3100
3101-#ifndef UNITY_SCOPES_INTERNAL_REGISTRYEXCEPTION_H
3102-#define UNITY_SCOPES_INTERNAL_REGISTRYEXCEPTION_H
3103+#pragma once
3104
3105 #include <unity/Exception.h>
3106
3107@@ -46,5 +45,3 @@
3108 } // namespace scopes
3109
3110 } // namespace unity
3111-
3112-#endif
3113
3114=== modified file 'include/unity/scopes/internal/RegistryImpl.h'
3115--- include/unity/scopes/internal/RegistryImpl.h 2014-06-04 17:49:34 +0000
3116+++ include/unity/scopes/internal/RegistryImpl.h 2014-11-28 11:54:53 +0000
3117@@ -16,8 +16,7 @@
3118 * Authored by: Michi Henning <michi.henning@canonical.com>
3119 */
3120
3121-#ifndef UNITY_SCOPES_INTERNAL_REGISTRYIMPL_H
3122-#define UNITY_SCOPES_INTERNAL_REGISTRYIMPL_H
3123+#pragma once
3124
3125 #include <unity/scopes/internal/MWRegistryProxyFwd.h>
3126 #include <unity/scopes/internal/ObjectImpl.h>
3127@@ -60,5 +59,3 @@
3128 } // namespace scopes
3129
3130 } // namespace unity
3131-
3132-#endif
3133
3134=== modified file 'include/unity/scopes/internal/RegistryObject.h'
3135--- include/unity/scopes/internal/RegistryObject.h 2014-10-22 15:33:01 +0000
3136+++ include/unity/scopes/internal/RegistryObject.h 2014-11-28 11:54:53 +0000
3137@@ -16,8 +16,7 @@
3138 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
3139 */
3140
3141-#ifndef UNITY_SCOPES_INTERNAL_REGISTRYOBJECT_H
3142-#define UNITY_SCOPES_INTERNAL_REGISTRYOBJECT_H
3143+#pragma once
3144
3145 #include <unity/scopes/internal/Executor.h>
3146 #include <unity/scopes/internal/MiddlewareBase.h>
3147@@ -156,5 +155,3 @@
3148 } // namespace scopes
3149
3150 } // namespace unity
3151-
3152-#endif
3153
3154=== modified file 'include/unity/scopes/internal/RegistryObjectBase.h'
3155--- include/unity/scopes/internal/RegistryObjectBase.h 2014-06-04 17:49:34 +0000
3156+++ include/unity/scopes/internal/RegistryObjectBase.h 2014-11-28 11:54:53 +0000
3157@@ -16,8 +16,7 @@
3158 * Authored by: Michi Henning <michi.henning@canonical.com>
3159 */
3160
3161-#ifndef UNITY_SCOPES_INTERNAL_REGISTRYOBJECTBASE_H
3162-#define UNITY_SCOPES_INTERNAL_REGISTRYOBJECTBASE_H
3163+#pragma once
3164
3165 #include <unity/scopes/internal/AbstractObject.h>
3166 #include <unity/scopes/Registry.h>
3167@@ -47,5 +46,3 @@
3168 } // namespace scopes
3169
3170 } // namespace unity
3171-
3172-#endif
3173
3174=== modified file 'include/unity/scopes/internal/ReplyImpl.h'
3175--- include/unity/scopes/internal/ReplyImpl.h 2014-07-28 08:30:35 +0000
3176+++ include/unity/scopes/internal/ReplyImpl.h 2014-11-28 11:54:53 +0000
3177@@ -16,8 +16,7 @@
3178 * Authored by: Michi Henning <michi.henning@canonical.com>
3179 */
3180
3181-#ifndef UNITY_SCOPES_INTERNAL_REPLYIMPL_H
3182-#define UNITY_SCOPES_INTERNAL_REPLYIMPL_H
3183+#pragma once
3184
3185 #include <unity/scopes/internal/MWReplyProxyFwd.h>
3186 #include <unity/scopes/internal/ObjectImpl.h>
3187@@ -66,5 +65,3 @@
3188 } // namespace scopes
3189
3190 } // namespace unity
3191-
3192-#endif
3193
3194=== modified file 'include/unity/scopes/internal/ReplyObject.h'
3195--- include/unity/scopes/internal/ReplyObject.h 2014-08-12 09:04:49 +0000
3196+++ include/unity/scopes/internal/ReplyObject.h 2014-11-28 11:54:53 +0000
3197@@ -16,8 +16,7 @@
3198 * Authored by: Michi Henning <michi.henning@canonical.com>
3199 */
3200
3201-#ifndef UNITY_SCOPES_INTERNAL_REPLYOBJECT_H
3202-#define UNITY_SCOPES_INTERNAL_REPLYOBJECT_H
3203+#pragma once
3204
3205 #include <unity/scopes/internal/ReplyObjectBase.h>
3206 #include <unity/scopes/internal/Reaper.h>
3207@@ -77,5 +76,3 @@
3208 } // namespace scopes
3209
3210 } // namespace unity
3211-
3212-#endif
3213
3214=== modified file 'include/unity/scopes/internal/ReplyObjectBase.h'
3215--- include/unity/scopes/internal/ReplyObjectBase.h 2014-07-28 08:30:35 +0000
3216+++ include/unity/scopes/internal/ReplyObjectBase.h 2014-11-28 11:54:53 +0000
3217@@ -16,8 +16,7 @@
3218 * Authored by: Michi Henning <michi.henning@canonical.com>
3219 */
3220
3221-#ifndef UNITY_SCOPES_INTERNAL_REPLYOBJECTBASE_H
3222-#define UNITY_SCOPES_INTERNAL_REPLYOBJECTBASE_H
3223+#pragma once
3224
3225 #include <unity/scopes/internal/AbstractObject.h>
3226 #include <unity/scopes/ListenerBase.h>
3227@@ -47,5 +46,3 @@
3228 } // namespace scopes
3229
3230 } // namespace unity
3231-
3232-#endif
3233
3234=== modified file 'include/unity/scopes/internal/ResultImpl.h'
3235--- include/unity/scopes/internal/ResultImpl.h 2014-03-07 04:19:32 +0000
3236+++ include/unity/scopes/internal/ResultImpl.h 2014-11-28 11:54:53 +0000
3237@@ -16,8 +16,7 @@
3238 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3239 */
3240
3241-#ifndef UNITY_SCOPES_INTERNAL_RESULTITEMIMPL_H
3242-#define UNITY_SCOPES_INTERNAL_RESULTITEMIMPL_H
3243+#pragma once
3244
3245 #include <string>
3246 #include <memory>
3247@@ -114,6 +113,3 @@
3248 } // namespace scopes
3249
3250 } // namespace unity
3251-
3252-
3253-#endif
3254
3255=== modified file 'include/unity/scopes/internal/ResultReplyObject.h'
3256--- include/unity/scopes/internal/ResultReplyObject.h 2014-08-12 09:04:49 +0000
3257+++ include/unity/scopes/internal/ResultReplyObject.h 2014-11-28 11:54:53 +0000
3258@@ -16,8 +16,7 @@
3259 * Authored by: Michi Henning <michi.henning@canonical.com>
3260 */
3261
3262-#ifndef UNITY_SCOPES_INTERNAL_RESULTREPLYOBJECT_H
3263-#define UNITY_SCOPES_INTERNAL_RESULTREPLYOBJECT_H
3264+#pragma once
3265
3266 #include <unity/scopes/internal/ReplyObject.h>
3267 #include <unity/scopes/internal/CategoryRegistry.h>
3268@@ -56,5 +55,3 @@
3269 } // namespace scopes
3270
3271 } // namespace unity
3272-
3273-#endif
3274
3275=== modified file 'include/unity/scopes/internal/RuntimeConfig.h'
3276--- include/unity/scopes/internal/RuntimeConfig.h 2014-08-13 17:07:12 +0000
3277+++ include/unity/scopes/internal/RuntimeConfig.h 2014-11-28 11:54:53 +0000
3278@@ -16,8 +16,7 @@
3279 * Authored by: Michi Henning <michi.henning@canonical.com>
3280 */
3281
3282-#ifndef UNITY_SCOPES_INTERNAL_RUNTIMECONFIG_H
3283-#define UNITY_SCOPES_INTERNAL_RUNTIMECONFIG_H
3284+#pragma once
3285
3286 #include <unity/scopes/internal/ConfigBase.h>
3287 #include <unity/scopes/Runtime.h>
3288@@ -45,10 +44,12 @@
3289 std::string default_middleware_configfile() const;
3290 int reap_expiry() const;
3291 int reap_interval() const;
3292- std::string data_directory() const;
3293+ std::string cache_directory() const;
3294+ std::string app_directory() const;
3295 std::string config_directory() const;
3296+ static std::string default_cache_directory();
3297+ static std::string default_app_directory();
3298 static std::string default_config_directory();
3299- static std::string default_data_directory();
3300
3301 private:
3302 std::string registry_identity_;
3303@@ -59,7 +60,8 @@
3304 std::string default_middleware_configfile_;
3305 int reap_expiry_;
3306 int reap_interval_;
3307- std::string data_directory_;
3308+ std::string cache_directory_;
3309+ std::string app_directory_;
3310 std::string config_directory_;
3311 };
3312
3313@@ -68,5 +70,3 @@
3314 } // namespace scopes
3315
3316 } // namespace unity
3317-
3318-#endif
3319
3320=== modified file 'include/unity/scopes/internal/RuntimeImpl.h'
3321--- include/unity/scopes/internal/RuntimeImpl.h 2014-10-10 07:01:36 +0000
3322+++ include/unity/scopes/internal/RuntimeImpl.h 2014-11-28 11:54:53 +0000
3323@@ -16,8 +16,7 @@
3324 * Authored by: Michi Henning <michi.henning@canonical.com>
3325 */
3326
3327-#ifndef UNITY_SCOPES_INTERNAL_RUNTIMEIMPL_H
3328-#define UNITY_SCOPES_INTERNAL_RUNTIMEIMPL_H
3329+#pragma once
3330
3331 #include <unity/scopes/internal/MiddlewareBase.h>
3332 #include <unity/scopes/internal/MiddlewareFactory.h>
3333@@ -73,6 +72,7 @@
3334 bool confined() const;
3335 std::string confinement_type() const;
3336 std::string find_cache_dir() const;
3337+ std::string find_app_dir() const;
3338 std::string find_tmp_dir() const;
3339
3340 bool destroyed_;
3341@@ -86,7 +86,8 @@
3342 mutable std::string ss_registry_identity_;
3343 int reap_expiry_;
3344 int reap_interval_;
3345- std::string data_dir_;
3346+ std::string cache_dir_;
3347+ std::string app_dir_;
3348 std::string config_dir_;
3349 std::string tmp_dir_;
3350 mutable Reaper::SPtr reply_reaper_;
3351@@ -101,5 +102,3 @@
3352 } // namespace scopes
3353
3354 } // namespace unity
3355-
3356-#endif
3357
3358=== modified file 'include/unity/scopes/internal/ScopeBaseImpl.h'
3359--- include/unity/scopes/internal/ScopeBaseImpl.h 2014-07-11 06:28:13 +0000
3360+++ include/unity/scopes/internal/ScopeBaseImpl.h 2014-11-28 11:54:53 +0000
3361@@ -16,8 +16,7 @@
3362 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3363 */
3364
3365-#ifndef UNITY_SCOPES_INTERNAL_SCOPEBASEIMPL_H
3366-#define UNITY_SCOPES_INTERNAL_SCOPEBASEIMPL_H
3367+#pragma once
3368
3369 #include <unity/scopes/RegistryProxyFwd.h>
3370 #include <unity/scopes/Variant.h>
3371@@ -48,6 +47,9 @@
3372 void set_cache_directory(std::string const& path);
3373 std::string cache_directory() const;
3374
3375+ void set_app_directory(std::string const& path);
3376+ std::string app_directory() const;
3377+
3378 void set_tmp_directory(std::string const& path);
3379 std::string tmp_directory() const;
3380
3381@@ -65,6 +67,9 @@
3382 std::string cache_directory_;
3383 bool cache_dir_initialized_;
3384
3385+ std::string app_directory_;
3386+ bool app_dir_initialized_;
3387+
3388 std::string tmp_directory_;
3389 bool tmp_dir_initialized_;
3390
3391@@ -82,5 +87,3 @@
3392 } // namespace scopes
3393
3394 } // namespace unity
3395-
3396-#endif
3397
3398=== modified file 'include/unity/scopes/internal/ScopeConfig.h'
3399--- include/unity/scopes/internal/ScopeConfig.h 2014-08-11 12:08:44 +0000
3400+++ include/unity/scopes/internal/ScopeConfig.h 2014-11-28 11:54:53 +0000
3401@@ -16,8 +16,7 @@
3402 * Authored by: Michi Henning <michi.henning@canonical.com>
3403 */
3404
3405-#ifndef UNITY_SCOPES_INTERNAL_SCOPECONFIG_H
3406-#define UNITY_SCOPES_INTERNAL_SCOPECONFIG_H
3407+#pragma once
3408
3409 #include <unity/scopes/internal/ConfigBase.h>
3410 #include <unity/scopes/Variant.h>
3411@@ -53,6 +52,9 @@
3412 int idle_timeout() const; // Optional, returns default value if not present
3413 ScopeMetadata::ResultsTtlType results_ttl_type() const; // Optional, returns none if not present
3414 bool debug_mode() const; // Optional, returns false if not present
3415+ std::vector<std::string> child_scope_ids() const; // Optional, returns an empty vector if no ids are present
3416+ int version() const; // Optional, returns 0 if not present
3417+ std::vector<std::string> tags() const; // Optional, returns an empty vector if no tags are present
3418
3419 VariantMap appearance_attributes() const; // Optional, returns empty map if no attributes are present
3420
3421@@ -73,6 +75,9 @@
3422 int idle_timeout_;
3423 ScopeMetadata::ResultsTtlType results_ttl_type_;
3424 bool debug_mode_;
3425+ std::vector<std::string> child_scope_ids_;
3426+ int version_;
3427+ std::vector<std::string> tags_;
3428
3429 VariantMap appearance_attributes_;
3430 };
3431@@ -82,5 +87,3 @@
3432 } // namespace scopes
3433
3434 } // namespace unity
3435-
3436-#endif
3437
3438=== modified file 'include/unity/scopes/internal/ScopeImpl.h'
3439--- include/unity/scopes/internal/ScopeImpl.h 2014-03-11 02:02:23 +0000
3440+++ include/unity/scopes/internal/ScopeImpl.h 2014-11-28 11:54:53 +0000
3441@@ -16,8 +16,7 @@
3442 * Authored by: Michi Henning <michi.henning@canonical.com>
3443 */
3444
3445-#ifndef UNITY_SCOPES_INTERNAL_SCOPEIMPL_H
3446-#define UNITY_SCOPES_INTERNAL_SCOPEIMPL_H
3447+#pragma once
3448
3449 #include <unity/scopes/internal/MWScopeProxyFwd.h>
3450 #include <unity/scopes/internal/ObjectImpl.h>
3451@@ -96,5 +95,3 @@
3452 } // namespace scopes
3453
3454 } // namespace unity
3455-
3456-#endif
3457
3458=== modified file 'include/unity/scopes/internal/ScopeLoader.h'
3459--- include/unity/scopes/internal/ScopeLoader.h 2014-07-04 03:52:07 +0000
3460+++ include/unity/scopes/internal/ScopeLoader.h 2014-11-28 11:54:53 +0000
3461@@ -16,8 +16,7 @@
3462 * Authored by: Michi Henning <michi.henning@canonical.com>
3463 */
3464
3465-#ifndef UNITY_SCOPES_INTERNAL_SCOPELOADER_H
3466-#define UNITY_SCOPES_INTERNAL_SCOPELOADER_H
3467+#pragma once
3468
3469 #include <unity/scopes/ScopeBase.h>
3470 #include <unity/scopes/internal/DynamicLoader.h>
3471@@ -84,5 +83,3 @@
3472 } // namespace scopes
3473
3474 } // namespace unity
3475-
3476-#endif
3477
3478=== modified file 'include/unity/scopes/internal/ScopeMetadataImpl.h'
3479--- include/unity/scopes/internal/ScopeMetadataImpl.h 2014-08-12 09:38:31 +0000
3480+++ include/unity/scopes/internal/ScopeMetadataImpl.h 2014-11-28 11:54:53 +0000
3481@@ -16,8 +16,7 @@
3482 * Authored by: Michi Henning <michi.henning@canonical.com>
3483 */
3484
3485-#ifndef UNITY_SCOPES_INTERNAL_SCOPEMETADATAIMPL_H
3486-#define UNITY_SCOPES_INTERNAL_SCOPEMETADATAIMPL_H
3487+#pragma once
3488
3489 #include <unity/scopes/internal/MWScope.h>
3490 #include <unity/scopes/ScopeMetadata.h>
3491@@ -58,6 +57,9 @@
3492 ScopeMetadata::ResultsTtlType results_ttl_type() const; // optional (default: none)
3493 VariantArray settings_definitions() const; // optional (default: empty array)
3494 bool location_data_needed() const; // optional (default: false)
3495+ std::vector<std::string> child_scope_ids() const; // optional (default: empty array)
3496+ int version() const; // optional (default: 0)
3497+ std::vector<std::string> tags() const; // optional (default: empty array)
3498
3499 void set_scope_id(std::string const& scope_id);
3500 void set_proxy(ScopeProxy const& proxy);
3501@@ -74,6 +76,9 @@
3502 void set_results_ttl_type(ScopeMetadata::ResultsTtlType results_ttl);
3503 void set_settings_definitions(VariantArray const& settings_definitions);
3504 void set_location_data_needed(bool location_data_needed);
3505+ void set_child_scope_ids(std::vector<std::string> const& ids);
3506+ void set_version(int v);
3507+ void set_tags(std::vector<std::string> const& tags);
3508
3509 VariantMap serialize() const;
3510 void deserialize(VariantMap const& var);
3511@@ -98,6 +103,9 @@
3512 ScopeMetadata::ResultsTtlType results_ttl_type_;
3513 std::unique_ptr<VariantArray> settings_definitions_; // Optional, hence a pointer
3514 std::unique_ptr<bool> location_data_needed_; // Optional, hence a pointer
3515+ std::vector<std::string> child_scope_ids_;
3516+ int version_;
3517+ std::vector<std::string> tags_;
3518 };
3519
3520 } // namespace internal
3521@@ -105,6 +113,3 @@
3522 } // namespace scopes
3523
3524 } // namespace unity
3525-
3526-
3527-#endif
3528
3529=== modified file 'include/unity/scopes/internal/ScopeObject.h'
3530--- include/unity/scopes/internal/ScopeObject.h 2014-08-12 13:26:35 +0000
3531+++ include/unity/scopes/internal/ScopeObject.h 2014-11-28 11:54:53 +0000
3532@@ -16,8 +16,7 @@
3533 * Authored by: Michi Henning <michi.henning@canonical.com>
3534 */
3535
3536-#ifndef UNITY_SCOPES_INTERNAL_SCOPEOBJECT_H
3537-#define UNITY_SCOPES_INTERNAL_SCOPEOBJECT_H
3538+#pragma once
3539
3540 #include <unity/scopes/internal/ScopeObjectBase.h>
3541 #include <unity/scopes/internal/QueryObjectBase.h>
3542@@ -94,5 +93,3 @@
3543 } // namespace scopes
3544
3545 } // namespace unity
3546-
3547-#endif
3548
3549=== modified file 'include/unity/scopes/internal/ScopeObjectBase.h'
3550--- include/unity/scopes/internal/ScopeObjectBase.h 2014-08-12 13:26:35 +0000
3551+++ include/unity/scopes/internal/ScopeObjectBase.h 2014-11-28 11:54:53 +0000
3552@@ -16,8 +16,7 @@
3553 * Authored by: Michi Henning <michi.henning@canonical.com>
3554 */
3555
3556-#ifndef UNITY_SCOPES_INTERNAL_SCOPEOBJECTBASE_H
3557-#define UNITY_SCOPES_INTERNAL_SCOPEOBJECTBASE_H
3558+#pragma once
3559
3560 #include <unity/scopes/internal/AbstractObject.h>
3561 #include <unity/scopes/internal/InvokeInfo.h>
3562@@ -78,5 +77,3 @@
3563 } // namespace scopes
3564
3565 } // namespace unity
3566-
3567-#endif
3568
3569=== modified file 'include/unity/scopes/internal/SearchMetadataImpl.h'
3570--- include/unity/scopes/internal/SearchMetadataImpl.h 2014-09-05 08:33:13 +0000
3571+++ include/unity/scopes/internal/SearchMetadataImpl.h 2014-11-28 11:54:53 +0000
3572@@ -16,8 +16,7 @@
3573 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3574 */
3575
3576-#ifndef UNITY_INTERNAL_SEARCHMETADATAIMPL_H
3577-#define UNITY_INTERNAL_SEARCHMETADATAIMPL_H
3578+#pragma once
3579
3580 #include <unity/scopes/internal/QueryMetadataImpl.h>
3581 #include <unity/scopes/SearchMetadata.h>
3582@@ -75,5 +74,3 @@
3583 } // namespace scopes
3584
3585 } // namespace unity
3586-
3587-#endif
3588
3589=== modified file 'include/unity/scopes/internal/SearchQueryBaseImpl.h'
3590--- include/unity/scopes/internal/SearchQueryBaseImpl.h 2014-06-24 11:11:11 +0000
3591+++ include/unity/scopes/internal/SearchQueryBaseImpl.h 2014-11-28 11:54:53 +0000
3592@@ -17,8 +17,7 @@
3593 * Pawel Stolowski <pawel.stolowski@canonical.com>
3594 */
3595
3596-#ifndef UNITY_INTERNAL_SEARCHQUERYBASEIMPL_H
3597-#define UNITY_INTERNAL_SEARCHQUERYBASEIMPL_H
3598+#pragma once
3599
3600 #include <unity/scopes/CannedQuery.h>
3601 #include <unity/scopes/internal/QueryBaseImpl.h>
3602@@ -81,5 +80,3 @@
3603 } // namespace scopes
3604
3605 } // namespace unity
3606-
3607-#endif
3608
3609=== modified file 'include/unity/scopes/internal/SearchReplyImpl.h'
3610--- include/unity/scopes/internal/SearchReplyImpl.h 2014-07-02 09:36:34 +0000
3611+++ include/unity/scopes/internal/SearchReplyImpl.h 2014-11-28 11:54:53 +0000
3612@@ -16,8 +16,7 @@
3613 * Authored by: Michi Henning <michi.henning@canonical.com>
3614 */
3615
3616-#ifndef UNITY_SCOPES_INTERNAL_SEARCHREPLYIMPL_H
3617-#define UNITY_SCOPES_INTERNAL_SEARCHREPLYIMPL_H
3618+#pragma once
3619
3620 #include <unity/scopes/Category.h>
3621 #include <unity/scopes/Department.h>
3622@@ -89,5 +88,3 @@
3623 } // namespace scopes
3624
3625 } // namespace unity
3626-
3627-#endif
3628
3629=== modified file 'include/unity/scopes/internal/SettingsDB.h'
3630--- include/unity/scopes/internal/SettingsDB.h 2014-08-14 14:39:01 +0000
3631+++ include/unity/scopes/internal/SettingsDB.h 2014-11-28 11:54:53 +0000
3632@@ -16,8 +16,7 @@
3633 * Authored by: Michi Henning <michi.henning@canonical.com>
3634 */
3635
3636-#ifndef UNITY_SCOPES_INTERNAL_SETTINGSDB_H
3637-#define UNITY_SCOPES_INTERNAL_SETTINGSDB_H
3638+#pragma once
3639
3640 #include <unity/scopes/internal/SettingsSchema.h>
3641 #include <unity/scopes/Variant.h>
3642@@ -95,5 +94,3 @@
3643 } // namespace scopes
3644
3645 } // namespace unity
3646-
3647-#endif
3648
3649=== modified file 'include/unity/scopes/internal/SettingsSchema.h'
3650--- include/unity/scopes/internal/SettingsSchema.h 2014-08-14 07:48:12 +0000
3651+++ include/unity/scopes/internal/SettingsSchema.h 2014-11-28 11:54:53 +0000
3652@@ -16,8 +16,7 @@
3653 * Authored by: Michi Henning <michi.henning@canonical.com>
3654 */
3655
3656-#ifndef UNITY_SCOPES_INTERNAL_SETTINGSSCHEMA_H
3657-#define UNITY_SCOPES_INTERNAL_SETTINGSSCHEMA_H
3658+#pragma once
3659
3660 #include <unity/util/DefinesPtrs.h>
3661 #include <unity/util/IniParser.h>
3662@@ -47,6 +46,9 @@
3663
3664 virtual VariantArray definitions() const = 0;
3665
3666+ // TODO: HACK: See bug #1393438 and the comments in IniSettingsSchema.cpp and
3667+ // JsonSettingsSchema.cpp. This method needs to be removed
3668+ // once we have fixed this properly.
3669 virtual void add_location_setting() = 0;
3670 };
3671
3672@@ -55,5 +57,3 @@
3673 } // namespace scopes
3674
3675 } // namespace unity
3676-
3677-#endif
3678
3679=== modified file 'include/unity/scopes/internal/StateReceiverObject.h'
3680--- include/unity/scopes/internal/StateReceiverObject.h 2014-08-01 03:19:32 +0000
3681+++ include/unity/scopes/internal/StateReceiverObject.h 2014-11-28 11:54:53 +0000
3682@@ -16,8 +16,7 @@
3683 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
3684 */
3685
3686-#ifndef UNITY_SCOPES_INTERNAL_STATERECEIVEROBJECT_H
3687-#define UNITY_SCOPES_INTERNAL_STATERECEIVEROBJECT_H
3688+#pragma once
3689
3690 #include <unity/scopes/internal/AbstractObject.h>
3691 #include <unity/scopes/internal/InvokeInfo.h>
3692@@ -64,5 +63,3 @@
3693 } // namespace scopes
3694
3695 } // namespace unity
3696-
3697-#endif // UNITY_SCOPES_INTERNAL_STATERECEIVEROBJECT_H
3698
3699=== modified file 'include/unity/scopes/internal/SwitchFilterImpl.h'
3700--- include/unity/scopes/internal/SwitchFilterImpl.h 2014-06-17 10:30:03 +0000
3701+++ include/unity/scopes/internal/SwitchFilterImpl.h 2014-11-28 11:54:53 +0000
3702@@ -16,8 +16,7 @@
3703 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3704 */
3705
3706-#ifndef UNITY_INTERNAL_SWITCHFILTERIMPL_H
3707-#define UNITY_INTERNAL_SWITCHFILTERIMPL_H
3708+#pragma once
3709
3710 #include <unity/scopes/internal/FilterBaseImpl.h>
3711 #include <unity/scopes/SwitchFilter.h>
3712@@ -58,5 +57,3 @@
3713 } // namespace scopes
3714
3715 } // namespace unity
3716-
3717-#endif
3718
3719=== modified file 'include/unity/scopes/internal/TaskWrapper.h'
3720--- include/unity/scopes/internal/TaskWrapper.h 2014-04-15 23:00:18 +0000
3721+++ include/unity/scopes/internal/TaskWrapper.h 2014-11-28 11:54:53 +0000
3722@@ -16,8 +16,7 @@
3723 * Authored by: Michi Henning <michi.henning@canonical.com>
3724 */
3725
3726-#ifndef UNITY_SCOPES_INTERNAL_TASKWRAPPER_H
3727-#define UNITY_SCOPES_INTERNAL_TASKWRAPPER_H
3728+#pragma once
3729
3730 #include <memory>
3731
3732@@ -101,5 +100,3 @@
3733 } // namespace scopes
3734
3735 } // namespace unity
3736-
3737-#endif
3738
3739=== modified file 'include/unity/scopes/internal/ThreadPool.h'
3740--- include/unity/scopes/internal/ThreadPool.h 2014-09-08 05:55:39 +0000
3741+++ include/unity/scopes/internal/ThreadPool.h 2014-11-28 11:54:53 +0000
3742@@ -16,8 +16,7 @@
3743 * Authored by: Michi Henning <michi.henning@canonical.com>
3744 */
3745
3746-#ifndef UNITY_SCOPES_INTERNAL_THREADPOOL_H
3747-#define UNITY_SCOPES_INTERNAL_THREADPOOL_H
3748+#pragma once
3749
3750 #include <unity/scopes/internal/ThreadSafeQueue.h>
3751 #include <unity/scopes/internal/TaskWrapper.h>
3752@@ -88,5 +87,3 @@
3753 } // namespace scopes
3754
3755 } // namespace unity
3756-
3757-#endif
3758
3759=== modified file 'include/unity/scopes/internal/ThreadSafeQueue.h'
3760--- include/unity/scopes/internal/ThreadSafeQueue.h 2014-04-15 23:00:18 +0000
3761+++ include/unity/scopes/internal/ThreadSafeQueue.h 2014-11-28 11:54:53 +0000
3762@@ -16,8 +16,7 @@
3763 * Authored by: Michi Henning <michi.henning@canonical.com>
3764 */
3765
3766-#ifndef UNITY_SCOPES_INTERNAL_THREADSAFEQUEUE_H
3767-#define UNITY_SCOPES_INTERNAL_THREADSAFEQUEUE_H
3768+#pragma once
3769
3770 #include <unity/util/DefinesPtrs.h>
3771 #include <unity/util/NonCopyable.h>
3772@@ -193,5 +192,3 @@
3773 } // namespace scopes
3774
3775 } // namespace unity
3776-
3777-#endif
3778
3779=== modified file 'include/unity/scopes/internal/UniqueID.h'
3780--- include/unity/scopes/internal/UniqueID.h 2014-01-07 10:33:11 +0000
3781+++ include/unity/scopes/internal/UniqueID.h 2014-11-28 11:54:53 +0000
3782@@ -16,8 +16,7 @@
3783 * Authored by: Michi Henning <michi.henning@canonical.com>
3784 */
3785
3786-#ifndef UNITY_SCOPES_INTERNAL_UNIQUEID_H
3787-#define UNITY_SCOPES_INTERNAL_UNIQUEID_H
3788+#pragma once
3789
3790 #include <unity/util/NonCopyable.h>
3791
3792@@ -62,5 +61,3 @@
3793 } // namespace scopes
3794
3795 } // namespace unity
3796-
3797-#endif
3798
3799=== modified file 'include/unity/scopes/internal/Utils.h'
3800--- include/unity/scopes/internal/Utils.h 2014-08-26 04:00:56 +0000
3801+++ include/unity/scopes/internal/Utils.h 2014-11-28 11:54:53 +0000
3802@@ -16,8 +16,7 @@
3803 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3804 */
3805
3806-#ifndef UNITY_INTERNAL_UTILS_H
3807-#define UNITY_INTERNAL_UTILS_H
3808+#pragma once
3809
3810 #include <unity/scopes/Variant.h>
3811 #include <string>
3812@@ -61,5 +60,3 @@
3813 } // namespace scopes
3814
3815 } // namespace unity
3816-
3817-#endif
3818
3819=== modified file 'include/unity/scopes/internal/ValueSliderFilterImpl.h'
3820--- include/unity/scopes/internal/ValueSliderFilterImpl.h 2014-06-17 10:30:03 +0000
3821+++ include/unity/scopes/internal/ValueSliderFilterImpl.h 2014-11-28 11:54:53 +0000
3822@@ -16,8 +16,7 @@
3823 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3824 */
3825
3826-#ifndef UNITY_INTERNAL_VALUESLIDERFILTERIMPL_H
3827-#define UNITY_INTERNAL_VALUESLIDERFILTERIMPL_H
3828+#pragma once
3829
3830 #include <unity/scopes/internal/FilterBaseImpl.h>
3831 #include <unity/scopes/ValueSliderFilter.h>
3832@@ -74,5 +73,3 @@
3833 } // namespace scopes
3834
3835 } // namespace unity
3836-
3837-#endif
3838
3839=== modified file 'include/unity/scopes/internal/VariantBuilderImpl.h'
3840--- include/unity/scopes/internal/VariantBuilderImpl.h 2014-02-04 06:34:33 +0000
3841+++ include/unity/scopes/internal/VariantBuilderImpl.h 2014-11-28 11:54:53 +0000
3842@@ -16,8 +16,7 @@
3843 * Authored by: Pawel Stolowski <pawel.stolowski@canonical.com>
3844 */
3845
3846-#ifndef UNITY_SCOPES_INTERNAL_VARIANTBUILDER_H
3847-#define UNITY_SCOPES_INTERNAL_VARIANTBUILDER_H
3848+#pragma once
3849
3850 #include <unity/scopes/Variant.h>
3851 #include <string>
3852@@ -54,5 +53,3 @@
3853 } // namespace scopes
3854
3855 } // namespace unity
3856-
3857-#endif
3858
3859=== modified file 'include/unity/scopes/internal/lttng/SimpleTracepoint.h'
3860--- include/unity/scopes/internal/lttng/SimpleTracepoint.h 2014-08-28 00:20:56 +0000
3861+++ include/unity/scopes/internal/lttng/SimpleTracepoint.h 2014-11-28 11:54:53 +0000
3862@@ -16,8 +16,7 @@
3863 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
3864 */
3865
3866-#ifndef SIMPLETRACEPOINT_H_
3867-#define SIMPLETRACEPOINT_H_
3868+#pragma once
3869
3870 #include <lttng/tracepoint.h>
3871
3872@@ -150,5 +149,3 @@
3873 _TPF( a ) _TPF( b ) _TPF( c ) _TPF( d ) _TPF( e ) _TPF( f ) _TPF( g ) _TPF( h ) _TPF( i )
3874 #define _STP_FIELDS_10( a, b, c, d, e, f, g, h, i, j )\
3875 _TPF( a ) _TPF( b ) _TPF( c ) _TPF( d ) _TPF( e ) _TPF( f ) _TPF( g ) _TPF( h ) _TPF( i ) _TPF( j )
3876-
3877-#endif /* SIMPLETRACEPOINT_H_ */
3878
3879=== added file 'include/unity/scopes/internal/safe_strerror.h'
3880--- include/unity/scopes/internal/safe_strerror.h 1970-01-01 00:00:00 +0000
3881+++ include/unity/scopes/internal/safe_strerror.h 2014-11-28 11:54:53 +0000
3882@@ -0,0 +1,38 @@
3883+/*
3884+ * Copyright (C) 2014 Canonical Ltd
3885+ *
3886+ * This program is free software: you can redistribute it and/or modify
3887+ * it under the terms of the GNU Lesser General Public License version 3 as
3888+ * published by the Free Software Foundation.
3889+ *
3890+ * This program is distributed in the hope that it will be useful,
3891+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
3892+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3893+ * GNU Lesser General Public License for more details.
3894+ *
3895+ * You should have received a copy of the GNU Lesser General Public License
3896+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
3897+ *
3898+ * Authored by: Michi Henning <michi.henning@canonical.com>
3899+ */
3900+
3901+#pragma once
3902+
3903+#include <string>
3904+
3905+namespace unity
3906+{
3907+
3908+namespace scopes
3909+{
3910+
3911+namespace internal
3912+{
3913+
3914+std::string safe_strerror(int errnum);
3915+
3916+} // namespace internal
3917+
3918+} // namespace scopes
3919+
3920+} // namespace unity
3921
3922=== modified file 'include/unity/scopes/internal/smartscopes/HttpClientInterface.h'
3923--- include/unity/scopes/internal/smartscopes/HttpClientInterface.h 2014-09-22 13:43:00 +0000
3924+++ include/unity/scopes/internal/smartscopes/HttpClientInterface.h 2014-11-28 11:54:53 +0000
3925@@ -16,8 +16,7 @@
3926 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
3927 */
3928
3929-#ifndef UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTINTERFACE_H
3930-#define UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTINTERFACE_H
3931+#pragma once
3932
3933 #include <unity/util/DefinesPtrs.h>
3934 #include <unity/util/NonCopyable.h>
3935@@ -111,5 +110,3 @@
3936 } // namespace scopes
3937
3938 } // namespace unity
3939-
3940-#endif // UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTINTERFACE_H
3941
3942=== modified file 'include/unity/scopes/internal/smartscopes/HttpClientQt.h'
3943--- include/unity/scopes/internal/smartscopes/HttpClientQt.h 2014-09-22 13:43:00 +0000
3944+++ include/unity/scopes/internal/smartscopes/HttpClientQt.h 2014-11-28 11:54:53 +0000
3945@@ -16,8 +16,7 @@
3946 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
3947 */
3948
3949-#ifndef UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTQT_H
3950-#define UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTQT_H
3951+#pragma once
3952
3953 #include <unity/scopes/internal/smartscopes/HttpClientInterface.h>
3954 #include <map>
3955@@ -90,5 +89,3 @@
3956 } // namespace scopes
3957
3958 } // namespace unity
3959-
3960-#endif // UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTQT_H
3961
3962=== modified file 'include/unity/scopes/internal/smartscopes/HttpClientQtThread.h'
3963--- include/unity/scopes/internal/smartscopes/HttpClientQtThread.h 2014-09-22 13:43:00 +0000
3964+++ include/unity/scopes/internal/smartscopes/HttpClientQtThread.h 2014-11-28 11:54:53 +0000
3965@@ -16,8 +16,7 @@
3966 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
3967 */
3968
3969-#ifndef UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTQTTHREAD_H
3970-#define UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTQTTHREAD_H
3971+#pragma once
3972
3973 // This hack allows unity-scopes-api to be built with
3974 // clang-3.4+ and versions of Qt before v5.1.1.
3975@@ -99,5 +98,3 @@
3976 } // namespace scopes
3977
3978 } // namespace unity
3979-
3980-#endif // UNITY_SCOPES_INTERNAL_SMARTSCOPES_HTTPCLIENTQTTHREAD_H
3981
3982=== modified file 'include/unity/scopes/internal/smartscopes/SSConfig.h'
3983--- include/unity/scopes/internal/smartscopes/SSConfig.h 2014-05-08 06:04:29 +0000
3984+++ include/unity/scopes/internal/smartscopes/SSConfig.h 2014-11-28 11:54:53 +0000
3985@@ -16,8 +16,7 @@
3986 * Authored by: Michi Henning <michi.henning@canonical.com>
3987 */
3988
3989-#ifndef UNITY_SCOPES_INTERNAL_SSCONFIG_H
3990-#define UNITY_SCOPES_INTERNAL_SSCONFIG_H
3991+#pragma once
3992
3993 #include <unity/scopes/internal/ConfigBase.h>
3994
3995@@ -58,5 +57,3 @@
3996 } // namespace scopes
3997
3998 } // namespace unity
3999-
4000-#endif
4001
4002=== modified file 'include/unity/scopes/internal/smartscopes/SSQueryCtrlObject.h'
4003--- include/unity/scopes/internal/smartscopes/SSQueryCtrlObject.h 2014-02-13 07:43:40 +0000
4004+++ include/unity/scopes/internal/smartscopes/SSQueryCtrlObject.h 2014-11-28 11:54:53 +0000
4005@@ -16,8 +16,7 @@
4006 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4007 */
4008
4009-#ifndef UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSQUERYCTRLOBJECT_H
4010-#define UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSQUERYCTRLOBJECT_H
4011+#pragma once
4012
4013 #include <unity/scopes/internal/QueryCtrlObjectBase.h>
4014
4015@@ -65,5 +64,3 @@
4016 } // namespace scopes
4017
4018 } // namespace unity
4019-
4020-#endif // UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSQUERYCTRLOBJECT_H
4021
4022=== modified file 'include/unity/scopes/internal/smartscopes/SSQueryObject.h'
4023--- include/unity/scopes/internal/smartscopes/SSQueryObject.h 2014-08-20 07:58:15 +0000
4024+++ include/unity/scopes/internal/smartscopes/SSQueryObject.h 2014-11-28 11:54:53 +0000
4025@@ -16,8 +16,7 @@
4026 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4027 */
4028
4029-#ifndef UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSQUERYOBJECT_H
4030-#define UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSQUERYOBJECT_H
4031+#pragma once
4032
4033 #include <unity/scopes/internal/QueryObjectBase.h>
4034 #include <unity/scopes/ReplyProxyFwd.h>
4035@@ -107,5 +106,3 @@
4036 } // namespace scopes
4037
4038 } // namespace unity
4039-
4040-#endif // UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSQUERYOBJECT_H
4041
4042=== modified file 'include/unity/scopes/internal/smartscopes/SSRegistryObject.h'
4043--- include/unity/scopes/internal/smartscopes/SSRegistryObject.h 2014-10-22 15:33:01 +0000
4044+++ include/unity/scopes/internal/smartscopes/SSRegistryObject.h 2014-11-28 11:54:53 +0000
4045@@ -16,8 +16,7 @@
4046 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4047 */
4048
4049-#ifndef UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSREGISTRYOBJECT_H
4050-#define UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSREGISTRYOBJECT_H
4051+#pragma once
4052
4053 #include <unity/scopes/internal/MiddlewareBase.h>
4054 #include <unity/scopes/internal/RegistryObjectBase.h>
4055@@ -108,5 +107,3 @@
4056 } // namespace scopes
4057
4058 } // namespace unity
4059-
4060-#endif // UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSREGISTRYOBJECT_H
4061
4062=== modified file 'include/unity/scopes/internal/smartscopes/SSScopeObject.h'
4063--- include/unity/scopes/internal/smartscopes/SSScopeObject.h 2014-08-20 07:58:15 +0000
4064+++ include/unity/scopes/internal/smartscopes/SSScopeObject.h 2014-11-28 11:54:53 +0000
4065@@ -16,8 +16,7 @@
4066 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4067 */
4068
4069-#ifndef UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSSCOPEOBJECT_H
4070-#define UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSSCOPEOBJECT_H
4071+#pragma once
4072
4073 #include <unity/scopes/internal/ScopeObjectBase.h>
4074 #include <unity/scopes/internal/smartscopes/SSQueryCtrlObject.h>
4075@@ -99,5 +98,3 @@
4076 } // namespace scopes
4077
4078 } // namespace unity
4079-
4080-#endif // UNITY_SCOPES_INTERNAL_SMARTSCOPES_SSSCOPEOBJECT_H
4081
4082=== modified file 'include/unity/scopes/internal/smartscopes/SmartScopesClient.h'
4083--- include/unity/scopes/internal/smartscopes/SmartScopesClient.h 2014-09-22 13:43:00 +0000
4084+++ include/unity/scopes/internal/smartscopes/SmartScopesClient.h 2014-11-28 11:54:53 +0000
4085@@ -16,8 +16,7 @@
4086 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4087 */
4088
4089-#ifndef UNITY_SCOPES_INTERNAL_SMARTSCOPES_SMARTSCOPESCLIENT_H
4090-#define UNITY_SCOPES_INTERNAL_SMARTSCOPES_SMARTSCOPESCLIENT_H
4091+#pragma once
4092
4093 #include <unity/scopes/FilterBase.h>
4094 #include <unity/scopes/FilterState.h>
4095@@ -61,6 +60,8 @@
4096 std::shared_ptr<std::string> settings; // optional
4097 std::shared_ptr<bool> needs_location_data; // optional
4098 bool invisible = false;
4099+ int version;
4100+ std::vector<std::string> tags; // optional
4101 };
4102
4103 struct SearchCategory
4104@@ -88,6 +89,16 @@
4105 std::vector<std::shared_ptr<DepartmentInfo>> subdepartments;
4106 };
4107
4108+struct LocationInfo
4109+{
4110+ bool has_location;
4111+ std::string country_code;
4112+ double latitude;
4113+ double longitude;
4114+
4115+ LocationInfo(): has_location(false) {}
4116+};
4117+
4118 class SearchHandle
4119 {
4120 public:
4121@@ -173,7 +184,7 @@
4122 VariantMap const& settings = VariantMap(),
4123 VariantMap const& filter_state = VariantMap(),
4124 std::string const& locale = "",
4125- std::string const& country = "",
4126+ LocationInfo const& location = LocationInfo(),
4127 std::string const& user_agent_hdr = "",
4128 const unsigned int limit = 0);
4129
4130@@ -233,5 +244,3 @@
4131 } // namespace scopes
4132
4133 } // namespace unity
4134-
4135-#endif // UNITY_SCOPES_INTERNAL_SMARTSCOPES_SMARTSCOPESCLIENT_H
4136
4137=== modified file 'include/unity/scopes/internal/zmq_middleware/ConnectionPool.h'
4138--- include/unity/scopes/internal/zmq_middleware/ConnectionPool.h 2014-10-06 06:33:24 +0000
4139+++ include/unity/scopes/internal/zmq_middleware/ConnectionPool.h 2014-11-28 11:54:53 +0000
4140@@ -16,8 +16,7 @@
4141 * Authored by: Michi Henning <michi.henning@canonical.com>
4142 */
4143
4144-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_CONNECTIONPOOL_H
4145-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_CONNECTIONPOOL_H
4146+#pragma once
4147
4148 #include <unity/scopes/internal/Reaper.h>
4149 #include <unity/scopes/internal/zmq_middleware/RequestMode.h>
4150@@ -90,5 +89,3 @@
4151 } // namespace scopes
4152
4153 } // namespace unity
4154-
4155-#endif
4156
4157=== modified file 'include/unity/scopes/internal/zmq_middleware/Current.h'
4158--- include/unity/scopes/internal/zmq_middleware/Current.h 2014-01-16 12:18:56 +0000
4159+++ include/unity/scopes/internal/zmq_middleware/Current.h 2014-11-28 11:54:53 +0000
4160@@ -16,8 +16,7 @@
4161 * Authored by: Michi Henning <michi.henning@canonical.com>
4162 */
4163
4164-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_CURRENT_H
4165-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_CURRENT_H
4166+#pragma once
4167
4168 #include <unity/scopes/internal/InvokeInfo.h>
4169
4170@@ -54,5 +53,3 @@
4171 } // namespace scopes
4172
4173 } // namespace unity
4174-
4175-#endif
4176
4177=== modified file 'include/unity/scopes/internal/zmq_middleware/ObjectAdapter.h'
4178--- include/unity/scopes/internal/zmq_middleware/ObjectAdapter.h 2014-09-11 06:45:13 +0000
4179+++ include/unity/scopes/internal/zmq_middleware/ObjectAdapter.h 2014-11-28 11:54:53 +0000
4180@@ -16,8 +16,7 @@
4181 * Authored by: Michi Henning <michi.henning@canonical.com>
4182 */
4183
4184-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_OBJECTADAPTER_H
4185-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_OBJECTADAPTER_H
4186+#pragma once
4187
4188 #include <unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h>
4189
4190@@ -138,5 +137,3 @@
4191 } // namespace scopes
4192
4193 } // namespace unity
4194-
4195-#endif
4196
4197=== modified file 'include/unity/scopes/internal/zmq_middleware/QueryCtrlI.h'
4198--- include/unity/scopes/internal/zmq_middleware/QueryCtrlI.h 2014-01-23 11:28:34 +0000
4199+++ include/unity/scopes/internal/zmq_middleware/QueryCtrlI.h 2014-11-28 11:54:53 +0000
4200@@ -16,8 +16,7 @@
4201 * Authored by: Michi Henning <michi.henning@canonical.com>
4202 */
4203
4204-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_QUERYCTRLI_H
4205-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_QUERYCTRLI_H
4206+#pragma once
4207
4208 #include <unity/scopes/internal/MWQueryCtrl.h>
4209 #include <unity/scopes/internal/QueryCtrlObjectBase.h>
4210@@ -58,5 +57,3 @@
4211 } // namespace scopes
4212
4213 } // namespace unity
4214-
4215-#endif
4216
4217=== modified file 'include/unity/scopes/internal/zmq_middleware/QueryI.h'
4218--- include/unity/scopes/internal/zmq_middleware/QueryI.h 2014-01-23 11:28:34 +0000
4219+++ include/unity/scopes/internal/zmq_middleware/QueryI.h 2014-11-28 11:54:53 +0000
4220@@ -16,8 +16,7 @@
4221 * Authored by: Michi Henning <michi.henning@canonical.com>
4222 */
4223
4224-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_QUERYI_H
4225-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_QUERYI_H
4226+#pragma once
4227
4228 #include <unity/scopes/internal/MWQuery.h>
4229 #include <unity/scopes/internal/QueryObjectBase.h>
4230@@ -54,5 +53,3 @@
4231 } // namespace scopes
4232
4233 } // namespace unity
4234-
4235-#endif
4236
4237=== modified file 'include/unity/scopes/internal/zmq_middleware/RegistryI.h'
4238--- include/unity/scopes/internal/zmq_middleware/RegistryI.h 2014-06-04 17:49:34 +0000
4239+++ include/unity/scopes/internal/zmq_middleware/RegistryI.h 2014-11-28 11:54:53 +0000
4240@@ -16,8 +16,7 @@
4241 * Authored by: Michi Henning <michi.henning@canonical.com>
4242 */
4243
4244-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_REGISTRYI_H
4245-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_REGISTRYI_H
4246+#pragma once
4247
4248 #include <unity/scopes/internal/MWRegistry.h>
4249 #include <unity/scopes/internal/RegistryObjectBase.h>
4250@@ -72,5 +71,3 @@
4251 } // namespace scopes
4252
4253 } // namespace unity
4254-
4255-#endif
4256
4257=== modified file 'include/unity/scopes/internal/zmq_middleware/ReplyI.h'
4258--- include/unity/scopes/internal/zmq_middleware/ReplyI.h 2014-07-24 14:08:45 +0000
4259+++ include/unity/scopes/internal/zmq_middleware/ReplyI.h 2014-11-28 11:54:53 +0000
4260@@ -16,8 +16,7 @@
4261 * Authored by: Michi Henning <michi.henning@canonical.com>
4262 */
4263
4264-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_REPLYI_H
4265-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_REPLYI_H
4266+#pragma once
4267
4268 #include <unity/scopes/internal/MWReply.h>
4269 #include <unity/scopes/internal/ReplyObjectBase.h>
4270@@ -60,5 +59,3 @@
4271 } // namespace scopes
4272
4273 } // namespace unity
4274-
4275-#endif
4276
4277=== modified file 'include/unity/scopes/internal/zmq_middleware/RequestMode.h'
4278--- include/unity/scopes/internal/zmq_middleware/RequestMode.h 2014-01-22 03:29:48 +0000
4279+++ include/unity/scopes/internal/zmq_middleware/RequestMode.h 2014-11-28 11:54:53 +0000
4280@@ -16,8 +16,7 @@
4281 * Authored by: Michi Henning <michi.henning@canonical.com>
4282 */
4283
4284-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_REQUESTMODE_H
4285-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_REQUESTMODE_H
4286+#pragma once
4287
4288 #include <string>
4289
4290@@ -44,5 +43,3 @@
4291 } // namespace scopes
4292
4293 } // namespace unity
4294-
4295-#endif
4296
4297=== modified file 'include/unity/scopes/internal/zmq_middleware/RethrowException.h'
4298--- include/unity/scopes/internal/zmq_middleware/RethrowException.h 2013-12-19 14:03:24 +0000
4299+++ include/unity/scopes/internal/zmq_middleware/RethrowException.h 2014-11-28 11:54:53 +0000
4300@@ -16,8 +16,7 @@
4301 * Authored by: Michi Henning <michi.henning@canonical.com>
4302 */
4303
4304-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_RETHROWEXCEPTION_H
4305-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_RETHROWEXCEPTION_H
4306+#pragma once
4307
4308 #include <zmqpp/exception.hpp>
4309
4310@@ -44,5 +43,3 @@
4311 } // namespace scopes
4312
4313 } // namespace unity
4314-
4315-#endif
4316
4317=== modified file 'include/unity/scopes/internal/zmq_middleware/ScopeI.h'
4318--- include/unity/scopes/internal/zmq_middleware/ScopeI.h 2014-08-12 13:26:35 +0000
4319+++ include/unity/scopes/internal/zmq_middleware/ScopeI.h 2014-11-28 11:54:53 +0000
4320@@ -16,8 +16,7 @@
4321 * Authored by: Michi Henning <michi.henning@canonical.com>
4322 */
4323
4324-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_SCOPEI_H
4325-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_SCOPEI_H
4326+#pragma once
4327
4328 #include <unity/scopes/internal/MWScope.h>
4329 #include <unity/scopes/internal/ScopeObjectBase.h>
4330@@ -66,5 +65,3 @@
4331 } // namespace scopes
4332
4333 } // namespace unity
4334-
4335-#endif
4336
4337=== modified file 'include/unity/scopes/internal/zmq_middleware/ServantBase.h'
4338--- include/unity/scopes/internal/zmq_middleware/ServantBase.h 2014-01-23 23:32:10 +0000
4339+++ include/unity/scopes/internal/zmq_middleware/ServantBase.h 2014-11-28 11:54:53 +0000
4340@@ -16,8 +16,7 @@
4341 * Authored by: Michi Henning <michi.henning@canonical.com>
4342 */
4343
4344-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_SERVANTBASE_H
4345-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_SERVANTBASE_H
4346+#pragma once
4347
4348 #include <capnp/dynamic.h>
4349 #include <scopes/internal/zmq_middleware/capnproto/Message.capnp.h>
4350@@ -79,5 +78,3 @@
4351 } // namespace scopes
4352
4353 } // namespace unity
4354-
4355-#endif
4356
4357=== modified file 'include/unity/scopes/internal/zmq_middleware/StateReceiverI.h'
4358--- include/unity/scopes/internal/zmq_middleware/StateReceiverI.h 2014-04-02 09:24:02 +0000
4359+++ include/unity/scopes/internal/zmq_middleware/StateReceiverI.h 2014-11-28 11:54:53 +0000
4360@@ -16,8 +16,7 @@
4361 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4362 */
4363
4364-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_STATERECEIVERI_H
4365-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_STATERECEIVERI_H
4366+#pragma once
4367
4368 #include <unity/scopes/internal/StateReceiverObject.h>
4369 #include <unity/scopes/internal/zmq_middleware/ServantBase.h>
4370@@ -53,5 +52,3 @@
4371 } // namespace scopes
4372
4373 } // namespace unity
4374-
4375-#endif // UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_STATERECEIVERI_H
4376
4377=== modified file 'include/unity/scopes/internal/zmq_middleware/StopPublisher.h'
4378--- include/unity/scopes/internal/zmq_middleware/StopPublisher.h 2014-08-20 05:24:08 +0000
4379+++ include/unity/scopes/internal/zmq_middleware/StopPublisher.h 2014-11-28 11:54:53 +0000
4380@@ -16,8 +16,7 @@
4381 * Authored by: Michi Henning <michi.henning@canonical.com>
4382 */
4383
4384-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_STOPPUBLISHER_H
4385-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_STOPPUBLISHER_H
4386+#pragma once
4387
4388 #include <unity/util/NonCopyable.h>
4389
4390@@ -83,5 +82,3 @@
4391 } // namespace scopes
4392
4393 } // namespace unity
4394-
4395-#endif
4396
4397=== modified file 'include/unity/scopes/internal/zmq_middleware/Util.h'
4398--- include/unity/scopes/internal/zmq_middleware/Util.h 2014-05-20 04:20:46 +0000
4399+++ include/unity/scopes/internal/zmq_middleware/Util.h 2014-11-28 11:54:53 +0000
4400@@ -16,8 +16,7 @@
4401 * Authored by: Michi Henning <michi.henning@canonical.com>
4402 */
4403
4404-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_UTIL_H
4405-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_UTIL_H
4406+#pragma once
4407
4408 #include <zmqpp/socket.hpp>
4409
4410@@ -46,5 +45,3 @@
4411 } // namespace scopes
4412
4413 } // namespace unity
4414-
4415-#endif
4416
4417=== modified file 'include/unity/scopes/internal/zmq_middleware/VariantConverter.h'
4418--- include/unity/scopes/internal/zmq_middleware/VariantConverter.h 2014-01-09 13:52:37 +0000
4419+++ include/unity/scopes/internal/zmq_middleware/VariantConverter.h 2014-11-28 11:54:53 +0000
4420@@ -16,8 +16,7 @@
4421 * Authored by: Michi Henning <michi.henning@canonical.com>
4422 */
4423
4424-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_VARIANTCONVERTER_H
4425-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_VARIANTCONVERTER_H
4426+#pragma once
4427
4428 #include <unity/scopes/Variant.h>
4429 #include <scopes/internal/zmq_middleware/capnproto/ValueDict.capnp.h>
4430@@ -52,5 +51,3 @@
4431 } // namespace scopes
4432
4433 } // namespace unity
4434-
4435-#endif
4436
4437=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqConfig.h'
4438--- include/unity/scopes/internal/zmq_middleware/ZmqConfig.h 2014-07-14 06:54:43 +0000
4439+++ include/unity/scopes/internal/zmq_middleware/ZmqConfig.h 2014-11-28 11:54:53 +0000
4440@@ -16,8 +16,7 @@
4441 * Authored by: Michi Henning <michi.henning@canonical.com>
4442 */
4443
4444-#ifndef UNITY_SCOPES_INTERNAL_ZMQCONFIG_H
4445-#define UNITY_SCOPES_INTERNAL_ZMQCONFIG_H
4446+#pragma once
4447
4448 #include <unity/scopes/internal/ConfigBase.h>
4449
4450@@ -57,5 +56,3 @@
4451 } // namespace scopes
4452
4453 } // namespace unity
4454-
4455-#endif
4456
4457=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqException.h'
4458--- include/unity/scopes/internal/zmq_middleware/ZmqException.h 2014-01-16 12:18:56 +0000
4459+++ include/unity/scopes/internal/zmq_middleware/ZmqException.h 2014-11-28 11:54:53 +0000
4460@@ -16,8 +16,7 @@
4461 * Authored by: Michi Henning <michi.henning@canonical.com>
4462 */
4463
4464-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQEXCEPTION_H
4465-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQEXCEPTION_H
4466+#pragma once
4467
4468 #include <capnp/message.h>
4469 #include <scopes/internal/zmq_middleware/capnproto/Message.capnp.h>
4470@@ -58,5 +57,3 @@
4471 } // namespace scopes
4472
4473 } // namespace unity
4474-
4475-#endif
4476
4477=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqMiddleware.h'
4478--- include/unity/scopes/internal/zmq_middleware/ZmqMiddleware.h 2014-08-12 06:32:51 +0000
4479+++ include/unity/scopes/internal/zmq_middleware/ZmqMiddleware.h 2014-11-28 11:54:53 +0000
4480@@ -16,8 +16,7 @@
4481 * Authored by: Michi Henning <michi.henning@canonical.com>
4482 */
4483
4484-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQMIDDLEWARE_H
4485-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQMIDDLEWARE_H
4486+#pragma once
4487
4488 #include <unity/scopes/internal/MiddlewareBase.h>
4489 #include <unity/scopes/internal/MWRegistryProxyFwd.h>
4490@@ -152,5 +151,3 @@
4491 } // namespace scopes
4492
4493 } // namespace unity
4494-
4495-#endif
4496
4497=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h'
4498--- include/unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h 2014-09-18 05:07:20 +0000
4499+++ include/unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h 2014-11-28 11:54:53 +0000
4500@@ -16,8 +16,7 @@
4501 * Authored by: Michi Henning <michi.henning@canonical.com>
4502 */
4503
4504-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQOBJECTPROXY_H
4505-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQOBJECTPROXY_H
4506+#pragma once
4507
4508 #include <unity/scopes/internal/MWObjectProxy.h>
4509 #include <scopes/internal/zmq_middleware/capnproto/Message.capnp.h>
4510@@ -112,5 +111,3 @@
4511 } // namespace scopes
4512
4513 } // namespace unity
4514-
4515-#endif
4516
4517=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqObjectProxyFwd.h'
4518--- include/unity/scopes/internal/zmq_middleware/ZmqObjectProxyFwd.h 2013-12-19 14:03:24 +0000
4519+++ include/unity/scopes/internal/zmq_middleware/ZmqObjectProxyFwd.h 2014-11-28 11:54:53 +0000
4520@@ -16,8 +16,7 @@
4521 * Authored by: Michi Henning <michi.henning@canonical.com>
4522 */
4523
4524-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQOBJECTPROXYFWD_H
4525-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQOBJECTPROXYFWD_H
4526+#pragma once
4527
4528 #include <memory>
4529
4530@@ -43,5 +42,3 @@
4531 } // namespace scopes
4532
4533 } // namespace unity
4534-
4535-#endif
4536
4537=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqPublisher.h'
4538--- include/unity/scopes/internal/zmq_middleware/ZmqPublisher.h 2014-05-20 04:20:46 +0000
4539+++ include/unity/scopes/internal/zmq_middleware/ZmqPublisher.h 2014-11-28 11:54:53 +0000
4540@@ -16,8 +16,7 @@
4541 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4542 */
4543
4544-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQPUBLISHER_H
4545-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQPUBLISHER_H
4546+#pragma once
4547
4548 #include <unity/scopes/internal/MWPublisher.h>
4549
4550@@ -79,5 +78,3 @@
4551 } // namespace scopes
4552
4553 } // namespace unity
4554-
4555-#endif // UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQPUBLISHER_H
4556
4557=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqQuery.h'
4558--- include/unity/scopes/internal/zmq_middleware/ZmqQuery.h 2014-01-23 23:32:10 +0000
4559+++ include/unity/scopes/internal/zmq_middleware/ZmqQuery.h 2014-11-28 11:54:53 +0000
4560@@ -16,8 +16,7 @@
4561 * Authored by: Michi Henning <michi.henning@canonical.com>
4562 */
4563
4564-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQQUERY_H
4565-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQQUERY_H
4566+#pragma once
4567
4568 #include <unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h>
4569 #include <unity/scopes/internal/zmq_middleware/ZmqQueryProxyFwd.h>
4570@@ -54,5 +53,3 @@
4571 } // namespace scopes
4572
4573 } // namespace unity
4574-
4575-#endif
4576
4577=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqQueryCtrl.h'
4578--- include/unity/scopes/internal/zmq_middleware/ZmqQueryCtrl.h 2014-01-23 23:32:10 +0000
4579+++ include/unity/scopes/internal/zmq_middleware/ZmqQueryCtrl.h 2014-11-28 11:54:53 +0000
4580@@ -16,8 +16,7 @@
4581 * Authored by: Michi Henning <michi.henning@canonical.com>
4582 */
4583
4584-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQQUERYCTRL_H
4585-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQQUERYCTRL_H
4586+#pragma once
4587
4588 #include <unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h>
4589 #include <unity/scopes/internal/zmq_middleware/ZmqQueryCtrlProxyFwd.h>
4590@@ -55,5 +54,3 @@
4591 } // namespace scopes
4592
4593 } // namespace unity
4594-
4595-#endif
4596
4597=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqQueryCtrlProxyFwd.h'
4598--- include/unity/scopes/internal/zmq_middleware/ZmqQueryCtrlProxyFwd.h 2013-12-19 14:03:24 +0000
4599+++ include/unity/scopes/internal/zmq_middleware/ZmqQueryCtrlProxyFwd.h 2014-11-28 11:54:53 +0000
4600@@ -16,8 +16,7 @@
4601 * Authored by: Michi Henning <michi.henning@canonical.com>
4602 */
4603
4604-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQQUERYCTRLPROXYFWD_H
4605-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQQUERYCTRLPROXYFWD_H
4606+#pragma once
4607
4608 #include <memory>
4609
4610@@ -43,5 +42,3 @@
4611 } // namespace scopes
4612
4613 } // namespace unity
4614-
4615-#endif
4616
4617=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqQueryProxyFwd.h'
4618--- include/unity/scopes/internal/zmq_middleware/ZmqQueryProxyFwd.h 2013-12-19 14:03:24 +0000
4619+++ include/unity/scopes/internal/zmq_middleware/ZmqQueryProxyFwd.h 2014-11-28 11:54:53 +0000
4620@@ -16,8 +16,7 @@
4621 * Authored by: Michi Henning <michi.henning@canonical.com>
4622 */
4623
4624-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQQUERYPROXYFWD_H
4625-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQQUERYPROXYFWD_H
4626+#pragma once
4627
4628 #include <memory>
4629
4630@@ -43,5 +42,3 @@
4631 } // namespace scopes
4632
4633 } // namespace unity
4634-
4635-#endif
4636
4637=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqReceiver.h'
4638--- include/unity/scopes/internal/zmq_middleware/ZmqReceiver.h 2014-01-09 12:38:35 +0000
4639+++ include/unity/scopes/internal/zmq_middleware/ZmqReceiver.h 2014-11-28 11:54:53 +0000
4640@@ -16,8 +16,7 @@
4641 * Authored by: Michi Henning <michi.henning@canonical.com>
4642 */
4643
4644-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQRECEIVER_H
4645-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQRECEIVER_H
4646+#pragma once
4647
4648 #include <unity/util/NonCopyable.h>
4649 #include <capnp/common.h>
4650@@ -68,5 +67,3 @@
4651 } // namespace scopes
4652
4653 } // namespace unity
4654-
4655-#endif
4656
4657=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqRegistry.h'
4658--- include/unity/scopes/internal/zmq_middleware/ZmqRegistry.h 2014-08-12 05:36:06 +0000
4659+++ include/unity/scopes/internal/zmq_middleware/ZmqRegistry.h 2014-11-28 11:54:53 +0000
4660@@ -16,8 +16,7 @@
4661 * Authored by: Michi Henning <michi.henning@canonical.com>
4662 */
4663
4664-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQREGISTRY_H
4665-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQREGISTRY_H
4666+#pragma once
4667
4668 #include <unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h>
4669 #include <unity/scopes/internal/zmq_middleware/ZmqRegistryProxyFwd.h>
4670@@ -63,5 +62,3 @@
4671 } // namespace scopes
4672
4673 } // namespace unity
4674-
4675-#endif
4676
4677=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqRegistryProxyFwd.h'
4678--- include/unity/scopes/internal/zmq_middleware/ZmqRegistryProxyFwd.h 2013-12-19 14:03:24 +0000
4679+++ include/unity/scopes/internal/zmq_middleware/ZmqRegistryProxyFwd.h 2014-11-28 11:54:53 +0000
4680@@ -16,8 +16,7 @@
4681 * Authored by: Michi Henning <michi.henning@canonical.com>
4682 */
4683
4684-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQREGISTRYPROXYFWD_H
4685-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQREGISTRYPROXYFWD_H
4686+#pragma once
4687
4688 #include <memory>
4689
4690@@ -43,5 +42,3 @@
4691 } // namespace scopes
4692
4693 } // namespace unity
4694-
4695-#endif
4696
4697=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqReply.h'
4698--- include/unity/scopes/internal/zmq_middleware/ZmqReply.h 2014-07-28 07:18:52 +0000
4699+++ include/unity/scopes/internal/zmq_middleware/ZmqReply.h 2014-11-28 11:54:53 +0000
4700@@ -16,8 +16,7 @@
4701 * Authored by: Michi Henning <michi.henning@canonical.com>
4702 */
4703
4704-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQREPLY_H
4705-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQREPLY_H
4706+#pragma once
4707
4708 #include <unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h>
4709 #include <unity/scopes/internal/zmq_middleware/ZmqReplyProxyFwd.h>
4710@@ -56,5 +55,3 @@
4711 } // namespace scopes
4712
4713 } // namespace unity
4714-
4715-#endif
4716
4717=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqReplyProxyFwd.h'
4718--- include/unity/scopes/internal/zmq_middleware/ZmqReplyProxyFwd.h 2013-12-19 14:03:24 +0000
4719+++ include/unity/scopes/internal/zmq_middleware/ZmqReplyProxyFwd.h 2014-11-28 11:54:53 +0000
4720@@ -16,8 +16,7 @@
4721 * Authored by: Michi Henning <michi.henning@canonical.com>
4722 */
4723
4724-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQREPLYPROXYFWD_H
4725-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQREPLYPROXYFWD_H
4726+#pragma once
4727
4728 #include <memory>
4729
4730@@ -43,5 +42,3 @@
4731 } // namespace scopes
4732
4733 } // namespace unity
4734-
4735-#endif
4736
4737=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqScope.h'
4738--- include/unity/scopes/internal/zmq_middleware/ZmqScope.h 2014-09-18 05:07:20 +0000
4739+++ include/unity/scopes/internal/zmq_middleware/ZmqScope.h 2014-11-28 11:54:53 +0000
4740@@ -16,8 +16,7 @@
4741 * Authored by: Michi Henning <michi.henning@canonical.com>
4742 */
4743
4744-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSCOPE_H
4745-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSCOPE_H
4746+#pragma once
4747
4748 #include <unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h>
4749 #include <unity/scopes/internal/zmq_middleware/ZmqScopeProxyFwd.h>
4750@@ -78,5 +77,3 @@
4751 } // namespace scopes
4752
4753 } // namespace unity
4754-
4755-#endif
4756
4757=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqScopeProxyFwd.h'
4758--- include/unity/scopes/internal/zmq_middleware/ZmqScopeProxyFwd.h 2013-12-19 14:03:24 +0000
4759+++ include/unity/scopes/internal/zmq_middleware/ZmqScopeProxyFwd.h 2014-11-28 11:54:53 +0000
4760@@ -16,8 +16,7 @@
4761 * Authored by: Michi Henning <michi.henning@canonical.com>
4762 */
4763
4764-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSCOPEPROXYFWD_H
4765-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSCOPEPROXYFWD_H
4766+#pragma once
4767
4768 #include <memory>
4769
4770@@ -43,5 +42,3 @@
4771 } // namespace scopes
4772
4773 } // namespace unity
4774-
4775-#endif
4776
4777=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqSender.h'
4778--- include/unity/scopes/internal/zmq_middleware/ZmqSender.h 2014-09-22 04:49:07 +0000
4779+++ include/unity/scopes/internal/zmq_middleware/ZmqSender.h 2014-11-28 11:54:53 +0000
4780@@ -16,8 +16,7 @@
4781 * Authored by: Michi Henning <michi.henning@canonical.com>
4782 */
4783
4784-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSENDER_H
4785-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSENDER_H
4786+#pragma once
4787
4788 #include <unity/util/NonCopyable.h>
4789 #include <capnp/common.h>
4790@@ -62,5 +61,3 @@
4791 } // namespace scopes
4792
4793 } // namespace unity
4794-
4795-#endif
4796
4797=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqStateReceiver.h'
4798--- include/unity/scopes/internal/zmq_middleware/ZmqStateReceiver.h 2014-04-02 09:24:02 +0000
4799+++ include/unity/scopes/internal/zmq_middleware/ZmqStateReceiver.h 2014-11-28 11:54:53 +0000
4800@@ -16,8 +16,7 @@
4801 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4802 */
4803
4804-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSTATERECEIVER_H
4805-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSTATERECEIVER_H
4806+#pragma once
4807
4808 #include <unity/scopes/internal/zmq_middleware/ZmqObjectProxy.h>
4809 #include <unity/scopes/internal/zmq_middleware/ZmqStateReceiverProxyFwd.h>
4810@@ -54,5 +53,3 @@
4811 } // namespace scopes
4812
4813 } // namespace unity
4814-
4815-#endif // UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSTATERECEIVER_H
4816
4817=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqStateReceiverProxyFwd.h'
4818--- include/unity/scopes/internal/zmq_middleware/ZmqStateReceiverProxyFwd.h 2014-04-02 09:24:02 +0000
4819+++ include/unity/scopes/internal/zmq_middleware/ZmqStateReceiverProxyFwd.h 2014-11-28 11:54:53 +0000
4820@@ -16,8 +16,7 @@
4821 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4822 */
4823
4824-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSTATERECEIVERPROXYFWD_H
4825-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSTATERECEIVERPROXYFWD_H
4826+#pragma once
4827
4828 #include <memory>
4829
4830@@ -43,5 +42,3 @@
4831 } // namespace scopes
4832
4833 } // namespace unity
4834-
4835-#endif // UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSTATERECEIVERPROXYFWD_H
4836
4837=== modified file 'include/unity/scopes/internal/zmq_middleware/ZmqSubscriber.h'
4838--- include/unity/scopes/internal/zmq_middleware/ZmqSubscriber.h 2014-06-04 17:49:34 +0000
4839+++ include/unity/scopes/internal/zmq_middleware/ZmqSubscriber.h 2014-11-28 11:54:53 +0000
4840@@ -16,8 +16,7 @@
4841 * Authored by: Marcus Tomlinson <marcus.tomlinson@canonical.com>
4842 */
4843
4844-#ifndef UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSUBSCRIBER_H
4845-#define UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSUBSCRIBER_H
4846+#pragma once
4847
4848 #include <condition_variable>
4849 #include <thread>
4850@@ -77,5 +76,3 @@
4851 } // namespace scopes
4852
4853 } // namespace unity
4854-
4855-#endif // UNITY_SCOPES_INTERNAL_ZMQMIDDLEWARE_ZMQSUBSCRIBER_H
4856
4857=== modified file 'include/unity/scopes/testing/Benchmark.h'
4858--- include/unity/scopes/testing/Benchmark.h 2014-03-13 12:19:39 +0000
4859+++ include/unity/scopes/testing/Benchmark.h 2014-11-28 11:54:53 +0000
4860@@ -16,8 +16,7 @@
4861 * Authored by: Thomas Voß <thomas.voss@canonical.com>
4862 */
4863
4864-#ifndef UNITY_SCOPES_TESTING_BENCHMARK_H
4865-#define UNITY_SCOPES_TESTING_BENCHMARK_H
4866+#pragma once
4867
4868 #include <unity/scopes/ActionMetadata.h>
4869 #include <unity/scopes/CannedQuery.h>
4870@@ -354,5 +353,3 @@
4871 } // namespace scopes
4872
4873 } // namespace unity
4874-
4875-#endif
4876
4877=== modified file 'include/unity/scopes/testing/Category.h'
4878--- include/unity/scopes/testing/Category.h 2014-07-02 09:36:34 +0000
4879+++ include/unity/scopes/testing/Category.h 2014-11-28 11:54:53 +0000
4880@@ -16,8 +16,7 @@
4881 * Authored by: Thomas Voß <thomas.voss@canonical.com>
4882 */
4883
4884-#ifndef UNITY_SCOPES_TESTING_CATEGORY_H
4885-#define UNITY_SCOPES_TESTING_CATEGORY_H
4886+#pragma once
4887
4888 #include <unity/scopes/Category.h>
4889
4890@@ -69,5 +68,3 @@
4891 } // namespace scopes
4892
4893 } // namespace unity
4894-
4895-#endif
4896
4897=== modified file 'include/unity/scopes/testing/InProcessBenchmark.h'
4898--- include/unity/scopes/testing/InProcessBenchmark.h 2014-03-07 04:19:32 +0000
4899+++ include/unity/scopes/testing/InProcessBenchmark.h 2014-11-28 11:54:53 +0000
4900@@ -16,8 +16,7 @@
4901 * Authored by: Thomas Voß <thomas.voss@canonical.com>
4902 */
4903
4904-#ifndef UNITY_SCOPES_TESTING_IN_PROCESS_BENCHMARK_H
4905-#define UNITY_SCOPES_TESTING_IN_PROCESS_BENCHMARK_H
4906+#pragma once
4907
4908 #include <unity/scopes/testing/Benchmark.h>
4909
4910@@ -75,5 +74,3 @@
4911 } // namespace scopes
4912
4913 } // namespace unity
4914-
4915-#endif
4916
4917=== modified file 'include/unity/scopes/testing/MockObject.h'
4918--- include/unity/scopes/testing/MockObject.h 2014-05-29 15:41:42 +0000
4919+++ include/unity/scopes/testing/MockObject.h 2014-11-28 11:54:53 +0000
4920@@ -16,8 +16,7 @@
4921 * Authored by: Michi Henning <michi.henning@canonical.com>
4922 */
4923
4924-#ifndef UNITY_SCOPES_TESTING_MOCK_OBJECT_H
4925-#define UNITY_SCOPES_TESTING_MOCK_OBJECT_H
4926+#pragma once
4927
4928 #include <unity/scopes/Object.h>
4929
4930@@ -53,5 +52,3 @@
4931 } // namespace scopes
4932
4933 } // namespace unity
4934-
4935-#endif
4936
4937=== modified file 'include/unity/scopes/testing/MockPreviewReply.h'
4938--- include/unity/scopes/testing/MockPreviewReply.h 2014-07-25 05:25:22 +0000
4939+++ include/unity/scopes/testing/MockPreviewReply.h 2014-11-28 11:54:53 +0000
4940@@ -16,8 +16,7 @@
4941 * Authored by: Thomas Voß <thomas.voss@canonical.com>
4942 */
4943
4944-#ifndef UNITY_SCOPES_TESTING_MOCK_PREVIEW_REPLY_H
4945-#define UNITY_SCOPES_TESTING_MOCK_PREVIEW_REPLY_H
4946+#pragma once
4947
4948 #include <unity/scopes/PreviewReply.h>
4949
4950@@ -59,5 +58,3 @@
4951 } // namespace scopes
4952
4953 } // namespace unity
4954-
4955-#endif
4956
4957=== modified file 'include/unity/scopes/testing/MockQueryCtrl.h'
4958--- include/unity/scopes/testing/MockQueryCtrl.h 2014-06-11 05:38:36 +0000
4959+++ include/unity/scopes/testing/MockQueryCtrl.h 2014-11-28 11:54:53 +0000
4960@@ -16,8 +16,7 @@
4961 * Authored by: James Henstridge <james.henstridge@canonical.com>
4962 */
4963
4964-#ifndef UNITY_SCOPES_TESTING_MOCK_QUERYCTRL_H
4965-#define UNITY_SCOPES_TESTING_MOCK_QUERYCTRL_H
4966+#pragma once
4967
4968 #include <unity/scopes/QueryCtrl.h>
4969
4970@@ -51,5 +50,3 @@
4971 } // namespace scopes
4972
4973 } // namespace unity
4974-
4975-#endif
4976
4977=== modified file 'include/unity/scopes/testing/MockRegistry.h'
4978--- include/unity/scopes/testing/MockRegistry.h 2014-06-04 17:49:34 +0000
4979+++ include/unity/scopes/testing/MockRegistry.h 2014-11-28 11:54:53 +0000
4980@@ -16,8 +16,7 @@
4981 * Authored by: Thomas Voß <thomas.voss@canonical.com>
4982 */
4983
4984-#ifndef UNITY_SCOPES_TESTING_MOCK_REGISTRY_H
4985-#define UNITY_SCOPES_TESTING_MOCK_REGISTRY_H
4986+#pragma once
4987
4988 #include <unity/scopes/Registry.h>
4989 #include <unity/scopes/testing/MockObject.h>
4990@@ -61,5 +60,3 @@
4991 } // namespace scopes
4992
4993 } // namespace unity
4994-
4995-#endif
4996
4997=== modified file 'include/unity/scopes/testing/MockScope.h'
4998--- include/unity/scopes/testing/MockScope.h 2014-05-30 08:08:17 +0000
4999+++ include/unity/scopes/testing/MockScope.h 2014-11-28 11:54:53 +0000
5000@@ -16,8 +16,7 @@
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: