moved StatusTypeNames to .cpp

This commit is contained in:
Matej Sekoranja
2010-12-27 10:01:28 +01:00
parent 531a63f913
commit 20945f7802
3 changed files with 15 additions and 1 deletions

View File

@@ -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
View 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" };
}}

View File

@@ -27,7 +27,7 @@ namespace epics { namespace pvData {
STATUSTYPE_FATAL
};
const char* StatusTypeName[] = { "OK", "WARNING", "ERROR", "FATAL" };
extern const char* StatusTypeName[];
/**
* Status interface.