From 48fd2b04e9010bb67e19f33e8c7506a976b70e90 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 15 Dec 2002 18:00:00 +0100 Subject: =?UTF-8?q?Version=201.1.20=20-=20Now=20checking=20if=20there=20is?= =?UTF-8?q?=20a=20connection=20to=20the=20keyboard=20(thanks=20to=20Jaakko?= =?UTF-8?q?=20Hyv=C3=A4tti)=20=20=20and=20only=20creating=20the=20KBD=20re?= =?UTF-8?q?mote=20control=20if=20VDR=20is=20running=20in=20the=20foregroun?= =?UTF-8?q?d.=20-=20Fixed=20taking=20an=20active=20SVDRP=20connection=20in?= =?UTF-8?q?to=20account=20when=20doing=20shutdown=20(thanks=20=20=20to=20G?= =?UTF-8?q?regoire=20Favre=20for=20reporting=20this=20one).=20-=20Changed?= =?UTF-8?q?=20setting=20of=20CXX=20and=20CXXFLAGS=20variables=20in=20Makef?= =?UTF-8?q?ile,=20so=20that=20an=20externally=20=20=20defined=20value=20wi?= =?UTF-8?q?ll=20be=20taken=20if=20present=20(suggested=20by=20Robert=20Sch?= =?UTF-8?q?iele).=20=20=20Plugin=20authors=20should=20please=20change=20th?= =?UTF-8?q?e=20lines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CXX = g++ CXXFLAGS = -O2 -Wall -Woverloaded-virtual in their Makefile to CXX ?= g++ CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual - Fixed recording overlapping timers on the same channel in case DO_REC_AND_PLAY_ON_PRIMARY_DEVICE and/or DO_MULTIPLE_RECORDINGS is not defined (thanks to Jaakko Hyvätti). - No longer stopping/restarting the DMX when switching audio channels (thanks to Sven Goethel). - Fixed high CPU load in 'Transfer Mode' (thanks to Oliver Endriss). - If a PC keyboard is used as remote control, the string entry fields in the menus now accept character input directly (however, this works only for keys that are not otherwise defined as remote control keys). Also, plugins can switch the cKbdRemote class into "raw mode", where all keyboard input will be made available through the new 'kKbd' key code and none of it will be processed as normal remote control functions (thanks to Jan Rieger for suggestions and testing). - Fixed deleting characters in string entry fields in 'insert' mode. - Now using "Doxygen" to generate source documentation (thanks to Walter Stroebel for providing an initial 'Doxyfile' configuration and adjusting some comments). See INSTALL for information how to do this. Some function descriptions have already been adapted to Doxygen, more will follow. --- tools.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 4e3e282..a5a626c 100644 --- a/tools.h +++ b/tools.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.h 1.53 2002/11/30 12:51:45 kls Exp $ + * $Id: tools.h 1.54 2002/12/15 14:59:53 kls Exp $ */ #ifndef __TOOLS_H @@ -59,11 +59,11 @@ char *readline(FILE *f); char *strcpyrealloc(char *dest, const char *src); char *strn0cpy(char *dest, const char *src, size_t n); char *strreplace(char *s, char c1, char c2); -char *strreplace(char *s, const char *s1, const char *s2); // re-allocates 's' and deletes the original string if necessary! +char *strreplace(char *s, const char *s1, const char *s2); ///< re-allocates 's' and deletes the original string if necessary! char *skipspace(const char *s); char *stripspace(char *s); char *compactspace(char *s); -const char *strescape(const char *s, const char *chars); // returns a statically allocated string! +const char *strescape(const char *s, const char *chars); ///< \warning returns a statically allocated string! bool startswith(const char *s, const char *p); bool endswith(const char *s, const char *p); bool isempty(const char *s); @@ -71,8 +71,8 @@ int numdigits(int n); int time_ms(void); void delay_ms(int ms); bool isnumber(const char *s); -const char *itoa(int n); // returns a statically allocated string! -const char *AddDirectory(const char *DirName, const char *FileName); // returns a statically allocated string! +const char *itoa(int n); ///< \warning returns a statically allocated string! +const char *AddDirectory(const char *DirName, const char *FileName); ///< \warning returns a statically allocated string! int FreeDiskSpaceMB(const char *Directory, int *UsedMB = NULL); bool DirectoryOk(const char *DirName, bool LogErrors = false); bool MakeDirs(const char *FileName, bool IsDirectory = false); @@ -80,8 +80,8 @@ bool RemoveFileOrDir(const char *FileName, bool FollowSymlinks = false); bool RemoveEmptyDirectories(const char *DirName, bool RemoveThis = false); char *ReadLink(const char *FileName); bool SpinUpDisk(const char *FileName); -const char *WeekDayName(int WeekDay); // returns a statically allocated string! -const char *DayDateTime(time_t t = 0); // returns a statically allocated string! +const char *WeekDayName(int WeekDay); ///< \warning returns a statically allocated string! +const char *DayDateTime(time_t t = 0); ///< \warning returns a statically allocated string! class cPoller { private: -- cgit v1.2.3