diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-08-10 18:36:30 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-08-10 18:36:30 +0000 |
commit | 667420c66b32e2200fd15c57e108a35d40499d48 (patch) | |
tree | 11c38ec276c28932ce631189954d25472031a2cc /cpp/demo/Database/Oracle/proc/EmpI.h | |
parent | remove redundant batch labels (diff) | |
download | ice-667420c66b32e2200fd15c57e108a35d40499d48.tar.bz2 ice-667420c66b32e2200fd15c57e108a35d40499d48.tar.xz ice-667420c66b32e2200fd15c57e108a35d40499d48.zip |
Oracle Pro*C demo
Diffstat (limited to 'cpp/demo/Database/Oracle/proc/EmpI.h')
-rw-r--r-- | cpp/demo/Database/Oracle/proc/EmpI.h | 34 |
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 |