Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4b2eba3 authored by Jaesoo Lee's avatar Jaesoo Lee Committed by android-build-merger
Browse files

configstore: include types.h instead of ISurfaceFlingerConfigs.h am:...

configstore: include types.h instead of ISurfaceFlingerConfigs.h am: 92c77bd6 am: 4b184824 am: d21a1053
am: 4c15eccb

Change-Id: I99d8db9341bc683d87dea0149e46267587abf0c9
parents eaebef21 4c15eccb
Loading
Loading
Loading
Loading
+9 −2
Original line number Original line Diff line number Diff line
@@ -17,7 +17,7 @@
#ifndef ANDROID_HARDWARE_CONFIGSTORE_UTILS_H
#ifndef ANDROID_HARDWARE_CONFIGSTORE_UTILS_H
#define ANDROID_HARDWARE_CONFIGSTORE_UTILS_H
#define ANDROID_HARDWARE_CONFIGSTORE_UTILS_H


#include <android/hardware/configstore/1.0/ISurfaceFlingerConfigs.h>
#include <android/hardware/configstore/1.0/types.h>
#include <hidl/Status.h>
#include <hidl/Status.h>


#include <sstream>
#include <sstream>
@@ -34,7 +34,14 @@ void logAlwaysError(const std::string& message);
}  // namespace details
}  // namespace details


namespace configstore {
namespace configstore {
using namespace android::hardware::configstore::V1_0;
// import types from V1_0
using ::android::hardware::configstore::V1_0::OptionalBool;
using ::android::hardware::configstore::V1_0::OptionalInt32;
using ::android::hardware::configstore::V1_0::OptionalUInt32;
using ::android::hardware::configstore::V1_0::OptionalInt64;
using ::android::hardware::configstore::V1_0::OptionalUInt64;
using ::android::hardware::configstore::V1_0::OptionalString;

// arguments V: type for the value (i.e., OptionalXXX)
// arguments V: type for the value (i.e., OptionalXXX)
//           I: interface class name
//           I: interface class name
//           func: member function pointer
//           func: member function pointer