ICE 3.4.2
[php5-ice-freebsdport.git] / cpp / demo / Ice / value / ValueI.h
blob8b2a5072c7a9a3bb684ac244efc40df96841ac4a
1 // **********************************************************************
2 //
3 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
4 //
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
7 //
8 // **********************************************************************
10 #ifndef VALUE_I_H
11 #define VALUE_I_H
13 #include <Value.h>
15 class InitialI : public Demo::Initial
17 public:
19 InitialI(const Ice::ObjectAdapterPtr&);
21 virtual Demo::SimplePtr getSimple(const Ice::Current&);
22 virtual void getPrinter(::Demo::PrinterPtr&, Demo::PrinterPrx&, const Ice::Current&);
23 virtual Demo::PrinterPtr getDerivedPrinter(const Ice::Current&);
24 virtual void throwDerivedPrinter(const Ice::Current&);
25 virtual void shutdown(const Ice::Current&);
27 private:
29 const Demo::SimplePtr _simple;
30 const Demo::PrinterPtr _printer;
31 const Demo::PrinterPrx _printerProxy;
32 const Demo::DerivedPrinterPtr _derivedPrinter;
35 class PrinterI : virtual public Demo::Printer
37 public:
39 virtual void printBackwards(const Ice::Current&);
42 class DerivedPrinterI : virtual public Demo::DerivedPrinter, virtual public PrinterI
44 public:
46 virtual void printUppercase(const Ice::Current&);
49 #endif