summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/MFC/server/HelloI.h
blob: 6ea7ce0c00169d18042ba200277e6e0546701868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// **********************************************************************
//
// Copyright (c) 2003-2008 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 HELLO_I_H
#define HELLO_I_H

#include <Hello.h>
#include <LogI.h>

class CDialog;

class HelloI : public Demo::Hello
{
public:

    HelloI(const LogIPtr&, CDialog*);

    virtual void sayHello(int, const Ice::Current&) const;
    virtual void shutdown(const Ice::Current&);

private:

    LogIPtr _log;
    CDialog* _dialog;
};

#endif