summaryrefslogtreecommitdiff
path: root/cpp/demo/Database/Oracle/proc/EmpI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Database/Oracle/proc/EmpI.h')
-rw-r--r--cpp/demo/Database/Oracle/proc/EmpI.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/cpp/demo/Database/Oracle/proc/EmpI.h b/cpp/demo/Database/Oracle/proc/EmpI.h
new file mode 100644
index 00000000000..3e0c7a36719
--- /dev/null
+++ b/cpp/demo/Database/Oracle/proc/EmpI.h
@@ -0,0 +1,34 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef EMPI_H
+#define EMPI_H
+
+#include <HR.h>
+#include <CurrentSqlContext.h>
+
+class EmpI : public HR::Emp
+{
+public:
+
+ EmpI(const CurrentSqlContext&, const std::string&, const std::string&);
+
+ virtual void ice_ping(const Ice::Current&);
+
+ virtual HR::EmpDesc getDesc(const Ice::Current&);
+ virtual void updateDesc(const HR::EmpDesc& newDesc, const Ice::Current&);
+ virtual void remove(const Ice::Current&);
+
+private:
+ const CurrentSqlContext _currentCtx;
+ const std::string _empCategory;
+ const std::string _deptCategory;
+};
+
+#endif