summaryrefslogtreecommitdiff
path: root/cppe/include/IceE/ObjectAdapterF.h
blob: ed4ea70b395d81b4a22898ce398c47d36d68679b (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
34
35
36
37
38
39
40
41
42
43
44
45
// **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice-E is licensed to you under the terms described in the
// ICEE_LICENSE file included in this distribution.
//
// **********************************************************************

#ifndef ICEE_OBJECT_ADAPTER_F_H
#define ICEE_OBJECT_ADAPTER_F_H

#include <IceE/Handle.h>
#include <IceE/Shared.h>

namespace Ice
{

class ObjectAdapter;
inline bool operator==(const ObjectAdapter& l, const ObjectAdapter& r)
{
    return &l == &r;
}
inline bool operator<(const ObjectAdapter& l, const ObjectAdapter& r)
{
    return &l < &r;
}

}

namespace IceInternal
{

ICE_API IceUtil::Shared* upCast(::Ice::ObjectAdapter*);

}

namespace Ice
{

typedef ::IceInternal::Handle< ::Ice::ObjectAdapter> ObjectAdapterPtr;

}

#endif