1 // Copyright (c) 2003 Institute of Transport, 2 // Railway Construction and Operation, 3 // University of Hanover, Germany 4 // 5 // Use, modification and distribution are subject to the 6 // Boost Software License, Version 1.0. (See accompanying file 7 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 8 9 #ifdef _WIN32 10 #ifdef LIBX_SOURCE 11 __declspec(dllexport) 12 #else 13 __declspec(dllimport) 14 #endif 15 #endif 16 class TestLibX 17 { 18 public: 19 20 TestLibX(); 21 22 // Needed to suppress 'unused variable' warning 23 // in some cases. do_something()24 void do_something() {} 25 }; 26