moved StatusTypeNames to .cpp
This commit is contained in:
@@ -41,6 +41,7 @@ LIBSRCS += timeFunction.cpp
|
||||
LIBSRCS += timer.cpp
|
||||
LIBSRCS += queueVoid.cpp
|
||||
LIBSRCS += messageQueue.cpp
|
||||
LIBSRCS += status.cpp
|
||||
LIBSRCS += StatusCreateFactory.cpp
|
||||
|
||||
SRC_DIRS += $(PVDATA)/pv
|
||||
|
||||
13
pvDataApp/misc/status.cpp
Normal file
13
pvDataApp/misc/status.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
/*pvData.cpp*/
|
||||
/**
|
||||
* Copyright - See the COPYRIGHT that is included with this distribution.
|
||||
* EPICS pvDataCPP is distributed subject to a Software License Agreement found
|
||||
* in file LICENSE that is included with this distribution.
|
||||
*/
|
||||
#include <pvData.h>
|
||||
|
||||
namespace epics { namespace pvData {
|
||||
|
||||
const char* StatusTypeName[] = { "OK", "WARNING", "ERROR", "FATAL" };
|
||||
|
||||
}}
|
||||
@@ -27,7 +27,7 @@ namespace epics { namespace pvData {
|
||||
STATUSTYPE_FATAL
|
||||
};
|
||||
|
||||
const char* StatusTypeName[] = { "OK", "WARNING", "ERROR", "FATAL" };
|
||||
extern const char* StatusTypeName[];
|
||||
|
||||
/**
|
||||
* Status interface.
|
||||
|
||||
Reference in New Issue
Block a user