Go to the documentation of this file.00001
00010
00011
00012
00013
00014 #ifndef F_HPP_
00015 #define F_HPP_
00016
00017 #include <string>
00018
00019
00020
00021
00022 #define ECL_HELPER_IMPORT __declspec(dllimport)
00023 #define ECL_HELPER_EXPORT __declspec(dllexport)
00024 #define ECL_HELPER_LOCAL
00025
00026
00027
00028
00029 #ifdef ecl_foo_EXPORTS // we are building a shared lib/dll
00030 #define ecl_foo_PUBLIC ECL_HELPER_EXPORT
00031 #else // we are using shared lib/dll
00032 #define ecl_foo_PUBLIC ECL_HELPER_IMPORT
00033 #endif
00034 #define ecl_foo_LOCAL ECL_HELPERS_LOCAL
00035
00036
00037
00038
00039
00040 ecl_foo_PUBLIC void fooDude();
00041
00042 inline const std::string& fiasco() {
00043 static std::string fiasco_str = "fiasco";
00044 fiasco_str = fiasco_str + '.';
00045 return fiasco_str;
00046 }
00047 #endif