summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/PluggableTopology/Test_Saver.h
blob: 287832cf336caf31e9e85db825d7507af5ddad32 (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
/* -*- C++ -*- */
/**
 *  $Id$
 */

#ifndef TEST_SAVER_H
#define TEST_SAVER_H
#include /**/ "ace/pre.h"

#include "plugtop_export.h"

#include "orbsvcs/Notify/Topology_Saver.h"

#include "tao/corba.h"
#include "ace/streams.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

class PLUGTOP_Export Test_Saver : public TAO_Notify::Topology_Saver
{
public:
  Test_Saver();

   virtual bool begin_object (CORBA::Long id,
      const ACE_CString &type,
      const TAO_Notify::NVPList& attrs,
      bool changed
      ACE_ENV_ARG_DECL);

    virtual void end_object (CORBA::Long id,
      const ACE_CString &type
      ACE_ENV_ARG_DECL);
};


#include /**/ "ace/post.h"
#endif /* TEST_SAVER_H */