Ocean
system/usb/android/Android.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_SYSTEM_USB_ANDROID_ANDROID_H
9 #define META_OCEAN_SYSTEM_USB_ANDROID_ANDROID_H
10 
11 #include "ocean/system/usb/USB.h"
12 
13 namespace Ocean
14 {
15 
16 namespace System
17 {
18 
19 namespace USB
20 {
21 
22 namespace Android
23 {
24 
25 /**
26  * @ingroup systemusb
27  * @defgroup systemusbandroid Ocean System USB Android Library
28  * @{
29  * The Ocean System USB Android Library provides access to devices via USB on Android platforms.
30  * The library is platform independent.
31  * @}
32  */
33 
34 /**
35  * @namespace Ocean::System::USB::Android Namespace of the System library USB Android.<p>
36  * The Namespace Ocean::System::USB::Android is used in the entire Ocean System USB Android Library.
37  */
38 
39 // Defines OCEAN_SYSTEM_USB_ANDROID_EXPORT for dll export and import.
40 #if defined(_WINDOWS) && defined(OCEAN_RUNTIME_SHARED)
41  #ifdef USE_OCEAN_SYSTEM_USB_ANDROID_EXPORT
42  #define OCEAN_SYSTEM_USB_ANDROID_EXPORT __declspec(dllexport)
43  #else
44  #define OCEAN_SYSTEM_USB_ANDROID_EXPORT __declspec(dllimport)
45  #endif
46 #else
47  #define OCEAN_SYSTEM_USB_ANDROID_EXPORT
48 #endif
49 
50 }
51 
52 }
53 
54 }
55 
56 }
57 
58 #endif // META_OCEAN_SYSTEM_USB_ANDROID_ANDROID_H
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15