From be8867213454ca9463f21305ac4da2a3049ef6da Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 18 Jun 1998 00:09:39 +0000 Subject: [PATCH] installed bwd compat casPV constructor --- src/cas/generic/casPV.cc | 12 ++++++++++++ src/cas/generic/casdef.h | 9 +++++++++ 2 files changed, 21 insertions(+) diff --git a/src/cas/generic/casPV.cc b/src/cas/generic/casPV.cc index a65b97c07..6a2f56aa0 100644 --- a/src/cas/generic/casPV.cc +++ b/src/cas/generic/casPV.cc @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.8 1998/06/16 02:30:44 jhill + * allow PV to be created before the server + * * Revision 1.7 1997/08/05 00:47:10 jhill * fixed warnings * @@ -69,6 +72,15 @@ epicsShareFunc casPV::casPV () : { } +// +// This constructor is preserved for backwards compatibility only. +// Please do _not_ use this constructor. +// +epicsShareFunc casPV::casPV (caServer &) : + casPVI (*this) +{ +} + epicsShareFunc casPV::~casPV() { } diff --git a/src/cas/generic/casdef.h b/src/cas/generic/casdef.h index 5ccfdf15c..243b43db1 100644 --- a/src/cas/generic/casdef.h +++ b/src/cas/generic/casdef.h @@ -30,6 +30,9 @@ * Modification Log: * ----------------- * $Log$ + * Revision 1.18 1998/06/16 02:34:14 jhill + * allow PVs to exist without a server + * * Revision 1.17 1998/05/05 16:30:38 jhill * fixed doc * @@ -602,6 +605,12 @@ public: // casPV * and casPVI * // friend class casStrmClient; + + // + // This constructor is preserved for backwards compatibility only. + // Please do _not_ use this constructor. + // + epicsShareFunc casPV (caServer &); }; //