File: testobj.h

package info (click to toggle)
xplc 0.3.13-12.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,536 kB
  • sloc: sh: 2,739; cpp: 2,697; ansic: 1,127; makefile: 64; perl: 6
file content (44 lines) | stat: -rw-r--r-- 1,665 bytes parent folder | download | duplicates (9)
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
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 *
 * XPLC - Cross-Platform Lightweight Components
 * Copyright (C) 2000-2002, Pierre Phaneuf
 * Copyright (C) 2002, Net Integration Technologies, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * as published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA
 */

#ifndef __TESTS_TESTOBJ_H__
#define __TESTS_TESTOBJ_H__

#include <xplc/IObject.h>

class ITestComponent: public IObject {
public:
  virtual int getAnswer() = 0;
};

DEFINE_IID(ITestComponent, {0x1db2ab25, 0xc54f, 0x4374,
  {0x8b, 0x52, 0xc1, 0x85, 0xe7, 0xeb, 0x83, 0x91}});

static const UUID TestComponent_CID = {0x746d2ba8, 0x0a52, 0x4156,
                                       {0xb9, 0x20, 0x05, 0x85,
                                        0x3f, 0xf1, 0x73, 0x43}};

static const UUID testCategory = {0xeb1babb7, 0xebbf, 0x415f,
                                  {0xa5, 0x3b, 0xc0, 0xda,
                                   0x3b, 0x6d, 0xad, 0x99}};

#endif /* __TESTS_TESTOBJ_H__ */