source: trunk/src/halXmlRpc.hpp @ 268

Revision 268, 645 bytes checked in by Eoin, 13 years ago (diff)

Added copyright eventually.

Line 
1
2//         Copyright Eóin O'Callaghan 2006 - 2007.
3// Distributed under the Boost Software License, Version 1.0.
4//    (See accompanying file LICENSE_1_0.txt or copy at
5//          http://www.boost.org/LICENSE_1_0.txt)
6
7#pragma once
8
9#include <iostream>
10#include <boost/smart_ptr.hpp>
11
12namespace hal
13{
14        bool initServer(int port);
15        void exitServer();
16       
17               
18        class XmlRpc
19        {
20        public:         
21                void bindHost(short port);
22                void rebindHost(short port);
23                void stopHost();
24               
25                friend XmlRpc& xmlRpc();
26               
27        private:
28                XmlRpc();
29               
30                class XmlRpc_impl;
31                boost::scoped_ptr<XmlRpc_impl> pimpl;
32        };
33       
34        XmlRpc& xmlRpc();
35}
Note: See TracBrowser for help on using the repository browser.