/usr/include/urg/mConnection.h is in liburg0-dev 0.8.18-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 40 41 42 43 44 45 46 47 48 49 50 51 | #ifndef QRK_M_CONNECTION_H
#define QRK_M_CONNECTION_H
/*!
\file
\brief ���j�^�Ή��̒ʐM�C���^�[�t�F�[�X
\author Satofumi KAMIMURA
$Id: mConnection.h 1302 2009-09-15 21:51:30Z satofumi $
*/
#include "Connection.h"
#include <memory>
namespace qrk
{
/*!
\brief ���j�^�Ή��̒ʐM�C���^�[�t�F�[�X
*/
class mConnection : public Connection
{
mConnection(void);
mConnection(const mConnection& rhs);
mConnection& operator = (const mConnection& rhs);
struct pImpl;
const std::auto_ptr<pImpl> pimpl;
public:
explicit mConnection(Connection* connection);
~mConnection(void);
const char* what(void) const;
bool connect(const char* device, long baudrate);
void disconnect(void);
bool setBaudrate(long baudrate);
long baudrate(void) const;
bool isConnected(void) const;
int send(const char* data, size_t count);
int receive(char* data, size_t count, int timeout);
size_t size(void) const;
void flush(void);
void clear(void);
void ungetc(const char ch);
};
}
#endif /* !QRK_CONNECTION_H */
|