diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-12-02 11:30:19 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-12-02 11:30:19 +0100 |
commit | 19f39258f0b3131345c1b0b3aa1a5c03f88bc33a (patch) | |
tree | e031524a37d3ea229d11b33766e4233567f16412 /remote.h | |
parent | 661da094e14b6ab76eae98a5eeb2c3ac6c914df4 (diff) | |
download | vdr-19f39258f0b3131345c1b0b3aa1a5c03f88bc33a.tar.gz vdr-19f39258f0b3131345c1b0b3aa1a5c03f88bc33a.tar.bz2 |
Replaced 'unsigned long long' with 'uint32_t' and 'uint64' with 'uint64_t' to avoid problems on 64-bit machines
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remote.h 1.37 2006/10/14 11:46:58 kls Exp $ + * $Id: remote.h 1.38 2006/12/02 11:12:49 kls Exp $ */ #ifndef __REMOTE_H @@ -35,7 +35,7 @@ protected: cRemote(const char *Name); const char *GetSetup(void); void PutSetup(const char *Setup); - bool Put(uint64 Code, bool Repeat = false, bool Release = false); + bool Put(uint64_t Code, bool Repeat = false, bool Release = false); bool Put(const char *Code, bool Repeat = false, bool Release = false); public: virtual ~cRemote(); @@ -100,13 +100,13 @@ private: struct termios savedTm; virtual void Action(void); int ReadKey(void); - uint64 ReadKeySequence(void); - int MapCodeToFunc(uint64 Code); + uint64_t ReadKeySequence(void); + int MapCodeToFunc(uint64_t Code); public: cKbdRemote(void); virtual ~cKbdRemote(); static bool KbdAvailable(void) { return kbdAvailable; } - static uint64 MapFuncToCode(int Func); + static uint64_t MapFuncToCode(int Func); static void SetRawMode(bool RawMode); }; |