summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-04-30 19:57:47 +0000
committerGordon Sim <gsim@apache.org>2013-04-30 19:57:47 +0000
commit8dfb3055da5f5a92f620f5918356cc4c43cefdc5 (patch)
treecf1657080c99984b67f9d858c07fdf6a27ccc947 /cpp
parent4883da1b48ef0542e0d2a6220dc827d6838f8711 (diff)
downloadqpid-python-8dfb3055da5f5a92f620f5918356cc4c43cefdc5.tar.gz
QPID-4651: export symbol directives
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1477800 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/qpid/log/Selector.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/include/qpid/log/Selector.h b/cpp/include/qpid/log/Selector.h
index 23b6818cf0..1d025e9646 100644
--- a/cpp/include/qpid/log/Selector.h
+++ b/cpp/include/qpid/log/Selector.h
@@ -32,7 +32,7 @@ struct Options;
* where cliEntry = [!]LEVEL[+-][:PATTERN]
*/
struct SelectorElement {
- SelectorElement(const std::string cliEntry);
+ QPID_COMMON_EXTERN SelectorElement(const std::string cliEntry);
std::string levelStr;
std::string patternStr;
Level level;
@@ -51,16 +51,16 @@ struct SelectorElement {
class Selector {
public:
/** Empty selector selects nothing */
- Selector();
+ QPID_COMMON_EXTERN Selector();
/** Set selector from Options */
QPID_COMMON_EXTERN Selector(const Options&);
/** Equavlient to: Selector s; s.enable(l, s) */
- Selector(Level l, const std::string& s=std::string());
+ QPID_COMMON_EXTERN Selector(Level l, const std::string& s=std::string());
/** Selector from string */
- Selector(const std::string& selector);
+ QPID_COMMON_EXTERN Selector(const std::string& selector);
/** push option settings into runtime lookup structs */
QPID_COMMON_EXTERN void enable(const std::string& enableStr);
@@ -70,8 +70,8 @@ class Selector {
* Enable/disable messages with level in levels where the file
* name contains substring. Empty string matches all.
*/
- void enable(Level level, const std::string& substring=std::string());
- void disable(Level level, const std::string& substring=std::string());
+ QPID_COMMON_EXTERN void enable(Level level, const std::string& substring=std::string());
+ QPID_COMMON_EXTERN void disable(Level level, const std::string& substring=std::string());
/** Tests to determine if function names are in enable/disable tables */
QPID_COMMON_EXTERN bool isEnabled(Level level, const char* function);