/*-*-c++-*- * $Id$ * * This file is part of plptools. * * Copyright (C) 1999 Philip Proudman * Copyright (C) 1999-2002 Fritz Elfert * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #ifndef _RPCS32_H_ #define _RPCS32_H_ #include class ppsocket; class rpcsfactory; /** * This is the implementation of the @ref rpcs protocol for * Psion series 5 (EPOC) variant. You normally never create * objects of this class directly. Thus the constructor is * private. Use @ref rpcsfactory for creating an instance of * @ref rpcs . For a complete documentation, see @ref rpcs . */ class rpcs32 : public rpcs { friend class rpcsfactory; public: Enum getCmdLine(const char *, std::string &); Enum getMachineInfo(machineInfo &); Enum configRead(u_int32_t, bufferStore &); Enum configWrite(bufferStore); Enum closeHandle(u_int16_t); Enum regOpenIter(u_int32_t uid, char *match, u_int16_t &handle); Enum regReadIter(u_int16_t handle); Enum setTime(time_t time); #if 0 Enum regWrite(void); Enum regRead(void); Enum regDelete(void); Enum queryOpen(void); Enum queryRead(void); Enum quitServer(void); #endif protected: Enum configOpen(u_int16_t &, u_int32_t); private: rpcs32(ppsocket *); }; #endif /* * Local variables: * c-basic-offset: 4 * End: */