summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/PluggableTopology/Test_Saver.h
blob: f7c13b36c47ec0564d88cfd6b970a01ef01bd649 (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
/* -*- 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);

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


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