plptools
Loading...
Searching...
No Matches
device.h
Go to the documentation of this file.
1
/*
2
* This file is part of plptools.
3
*
4
* Copyright (C) 1999 Philip Proudman <philip.proudman@btinternet.com>
5
* Copyright (C) 1999-2002 Fritz Elfert <felfert@to.com>
6
* Copyright (C) 2006-2025 Reuben Thomas <rrt@sc3d.org>
7
* Copyright (C) 2026 Jason Morley <hello@jbmorley.co.uk>
8
*
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License along
20
* along with this program; if not, see <https://www.gnu.org/licenses/>.
21
*
22
*/
23
#pragma once
24
25
#include "config.h"
26
27
#include <memory>
28
29
#include "
rfsv.h
"
30
31
class
DeviceConfiguration
;
32
class
DeviceEndpoint
;
33
class
rclip
;
34
class
RFSV
;
35
class
RPCS
;
36
37
namespace
device
{
38
39
extern
Enum<RFSV::errs>
write_configuration
(
RFSV
&rfsv,
const
DeviceConfiguration
&deviceConfiguration);
40
41
extern
std::unique_ptr<DeviceConfiguration>
read_configuration
(
RFSV
&rfsv,
Enum<RFSV::errs>
&
error
);
42
43
};
DeviceConfiguration
Class for managing and serializing device details.
Definition:
deviceconfiguration.h:34
DeviceEndpoint
Definition:
deviceendpoint.h:35
Enum
Wrapper class featuring range-checking and string representation of enumerated values.
Definition:
Enum.h:135
RFSV
Access remote file services of a Psion.
Definition:
rfsv.h:79
RPCS
Remote procedure call services via PLP.
Definition:
rpcs.h:52
rclip
Remote ClipBoard services via PLP.
Definition:
rclip.h:44
device
Definition:
device.h:37
device::write_configuration
Enum< RFSV::errs > write_configuration(RFSV &rfsv, const DeviceConfiguration &deviceConfiguration)
Definition:
device.cc:35
device::read_configuration
std::unique_ptr< DeviceConfiguration > read_configuration(RFSV &rfsv, Enum< RFSV::errs > &error)
Definition:
device.cc:72
rfsv.h
error
static void error(int line)
Definition:
sismain.cpp:44
lib
device.h
Generated by
1.9.5