1 /*
2  * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
3  *
4  * HDF is dual licensed: you can use it either under the terms of
5  * the GPL, or the BSD license, at your option.
6  * See the LICENSE file in the root of this repository for complete details.
7  */
8 
9 #ifndef HDF_SAMPLE_DRIVER_H
10 #define HDF_SAMPLE_DRIVER_H
11 
12 #include "hdf_object.h"
13 
14 #define SAMPLE_SERVICE "sample_service"
15 
16 typedef enum {
17     SAMPLE_DRIVER_REGISTER_DEVICE = 0,
18     SAMPLE_DRIVER_UNREGISTER_DEVICE,
19     SAMPLE_DRIVER_UPDATE_SERVICE_INFO,
20     SAMPLE_DRIVER_SENDEVENT_SINGLE_DEVICE,
21     SAMPLE_DRIVER_SENDEVENT_BROADCAST_DEVICE,
22     SAMPLE_DRIVER_PM_STATE_INJECT,
23 } SAMPLE_DRIVER_CMDID;
24 
25 struct HdfDeviceObject *GetDeviceObject(void);
26 
27 #endif // HDF_MAIN_TEST_H
28 
29