OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
USBSerialDevInfo.cpp
Go to the documentation of this file.
1 
12 // Copyright 2015 Sensics, Inc.
13 //
14 // Licensed under the Apache License, Version 2.0 (the "License");
15 // you may not use this file except in compliance with the License.
16 // You may obtain a copy of the License at
17 //
18 // http://www.apache.org/licenses/LICENSE-2.0
19 //
20 // Unless required by applicable law or agreed to in writing, software
21 // distributed under the License is distributed on an "AS IS" BASIS,
22 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 // See the License for the specific language governing permissions and
24 // limitations under the License.
25 
26 // Internal Includes
27 #include "USBSerialDevInfo.h"
29 
30 // Library/third-party includes
31 // - none
32 
33 // Standard includes
34 #include <string>
35 
36 #if defined(OSVR_WINDOWS)
38 #elif defined(OSVR_LINUX)
39 #include "USBSerialDevInfo_Linux.h"
40 #elif defined(OSVR_ANDROID)
41 #include "USBSerialDevInfo_Linux.h"
42 #elif defined(OSVR_MACOSX)
44 #else
45 #error "getPortNumber() not yet implemented for this platform!"
46 namespace osvr {
47 namespace usbserial {
48 
49  std::string getPortNumber(USBSerialDeviceImpl *serialDevice) {}
50 
51 } // namespace usbserial
52 } // namespace osvr
53 #endif
Implementation.
Auto-configured header.