Skip to content

Commit

Permalink
Json meta to IDL changes: for location sync
Browse files Browse the repository at this point in the history
  • Loading branch information
HaseenaSainul committed Nov 29, 2024
1 parent c8123ea commit 14beba4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
2 changes: 2 additions & 0 deletions definitions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ if(ENABLE_LEGACY_INTERFACE_SUPPORT)
"${CMAKE_SOURCE_DIR}/interfaces/IBrowserExt.h"
"${CMAKE_SOURCE_DIR}/interfaces/IDeviceIdentification.h"
"${CMAKE_SOURCE_DIR}/interfaces/IDeviceInfoExt.h"
"${CMAKE_SOURCE_DIR}/interfaces/LocationSync.h"
"${CMAKE_SOURCE_DIR}/interfaces/IMonitor.h"
"${CMAKE_SOURCE_DIR}/interfaces/IOCDMExt.h"
"${CMAKE_SOURCE_DIR}/interfaces/ISecurityAgent.h")
else()
list(REMOVE_ITEM JSON_FILE
"${CMAKE_SOURCE_DIR}/jsonrpc/DeviceInfo.json"
"${CMAKE_SOURCE_DIR}/jsonrpc/DeviceIdentification.json"
"${CMAKE_SOURCE_DIR}/jsonrpc/LocationSync.json"
"${CMAKE_SOURCE_DIR}/jsonrpc/Monitor.json"
"${CMAKE_SOURCE_DIR}/jsonrpc/OCDM.json"
"${CMAKE_SOURCE_DIR}/jsonrpc/SecurityAgent.json"
Expand Down
15 changes: 9 additions & 6 deletions definitions/Definitions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,26 @@
#include <interfaces/IBluetooth.h>
#include <interfaces/IBluetoothAudio.h>
#include <interfaces/IButler.h>
#if ENABLE_LEGACY_INTERFACE_SUPPORT
#include <interfaces/IBrowser.h>
#else
#include <interfaces/IBrowserExt.h>
#endif
#include <interfaces/ICapture.h>
#include <interfaces/ICommand.h>
#include <interfaces/IComposition.h>
#include <interfaces/IConfiguration.h>
#include <interfaces/IContentDecryption.h>
#include <interfaces/ICryptography.h>
#include <interfaces/ICustomerCareOperations.h>

#if ENABLE_LEGACY_INTERFACE_SUPPORT
#include <interfaces/IBrowser.h>
#include <interfaces/IComposition.h>
#include <interfaces/IDeviceInfo.h>
#else
#include <interfaces/IBrowserExt.h>
#include <interfaces/IDeviceIdentification.h>
#include <interfaces/IDeviceInfoExt.h>
#include <interfaces/ICompositionExt.h>
#include <interfaces/LocationSync.h>
#include <interfaces/IMonitor.h>
#include <interfaces/IOCDMExt.h>
#include <interfaces/ISecurityAgent.h>
#endif

#include <interfaces/IDictionary.h>
Expand Down
4 changes: 3 additions & 1 deletion interfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ endif()
separate_arguments(INTERFACES_PATTERNS)
file(GLOB INTERFACES_HEADERS ${INTERFACES_PATTERNS})
if(ENABLE_LEGACY_INTERFACE_SUPPORT)
list(REMOVE_ITEM INTERFACES_HEADERS "${CMAKE_SOURCE_DIR}/interfaces/IBrowserExt.h"
list(REMOVE_ITEM INTERFACES_HEADERS
"${CMAKE_SOURCE_DIR}/interfaces/IBrowserExt.h"
"${CMAKE_SOURCE_DIR}/interfaces/IDeviceIdentification.h"
"${CMAKE_SOURCE_DIR}/interfaces/IDeviceInfoExt.h"
"${CMAKE_SOURCE_DIR}/interfaces/ICompositionExt.h"
"${CMAKE_SOURCE_DIR}/interfaces/LocationSync.h"
"${CMAKE_SOURCE_DIR}/interfaces/IMonitor.h"
"${CMAKE_SOURCE_DIR}/interfaces/IOCDMExt.h"
"${CMAKE_SOURCE_DIR}/interfaces/ISecurityAgent.h")
Expand Down
5 changes: 4 additions & 1 deletion interfaces/Ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,10 @@ namespace Exchange {

ID_SECURITYAGENT = RPC::IDS::ID_EXTERNAL_INTERFACE_OFFSET + 0x510,

ID_DEVICEIDENTIFICATION = RPC::IDS::ID_EXTERNAL_INTERFACE_OFFSET + 0x520
ID_DEVICEIDENTIFICATION = RPC::IDS::ID_EXTERNAL_INTERFACE_OFFSET + 0x520,

ID_LOCATIONSYNC = RPC::IDS::ID_EXTERNAL_INTERFACE_OFFSET + 0x530,
ID_LOCATIONSYNC_NOTIFICATION = ID_LOCATIONSYNC + 1,
};
}
}

0 comments on commit 14beba4

Please sign in to comment.