summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/oglobal.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/libopie2/opiecore/oglobal.h b/libopie2/opiecore/oglobal.h
index 012f240..33dcb3c 100644
--- a/libopie2/opiecore/oglobal.h
+++ b/libopie2/opiecore/oglobal.h
@@ -1,69 +1,69 @@
1/* 1/*
2                 This file is part of the Opie Project 2 This file is part of the Opie Project
3              Copyright (C) 2003 Michael 'Mickey' Lauer <mickey@Vanille.de> 3 Copyright (C) 2003 Michael 'Mickey' Lauer <mickey@Vanille.de>
4 =. 4 =.
5 .=l. 5 .=l.
6           .>+-= 6 .>+-=
7 _;:,     .>    :=|. This program is free software; you can 7_;:, .> :=|. This program is free software; you can
8.> <`_,   >  .   <= redistribute it and/or modify it under 8.> <`_, > . <= redistribute it and/or modify it under
9:`=1 )Y*s>-.--   : the terms of the GNU Library General Public 9:`=1 )Y*s>-.-- : the terms of the GNU Library General Public
10.="- .-=="i,     .._ License as published by the Free Software 10.="- .-=="i, .._ License as published by the Free Software
11 - .   .-<_>     .<> Foundation; either version 2 of the License, 11- . .-<_> .<> Foundation; either version 2 of the License,
12     ._= =}       : or (at your option) any later version. 12 ._= =} : or (at your option) any later version.
13    .%`+i>       _;_. 13 .%`+i> _;_.
14    .i_,=:_.      -<s. This program is distributed in the hope that 14 .i_,=:_. -<s. This program is distributed in the hope that
15     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY; 15 + . -:. = it will be useful, but WITHOUT ANY WARRANTY;
16    : ..    .:,     . . . without even the implied warranty of 16 : .. .:, . . . without even the implied warranty of
17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A 17 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A
18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU 18 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.=       =       ; Library General Public License for more 19..}^=.= = ; Library General Public License for more
20++=   -.     .`     .: details. 20++= -. .` .: details.
21 :     =  ...= . :.=- 21: = ...= . :.=-
22 -.   .:....=;==+<; You should have received a copy of the GNU 22-. .:....=;==+<; You should have received a copy of the GNU
23  -_. . .   )=.  = Library General Public License along with 23 -_. . . )=. = Library General Public License along with
24    --        :-=` this library; see the file COPYING.LIB. 24 -- :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation, 25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330, 26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA. 27 Boston, MA 02111-1307, USA.
28*/ 28*/
29 29
30#ifndef OGLOBAL_H 30#ifndef OGLOBAL_H
31#define OGLOBAL_H 31#define OGLOBAL_H
32 32
33#include <qpe/global.h> 33#include <qpe/global.h>
34#include <qpe/timestring.h> 34#include <qpe/timestring.h>
35 35
36#include <opie2/oconfig.h> 36#include <opie2/oconfig.h>
37#include <static.h> 37#include <sys/types.h>
38 38
39//FIXME Is it wise or even necessary to inherit OGlobal from Global? 39//FIXME Is it wise or even necessary to inherit OGlobal from Global?
40// once we totally skip libqpe it should ideally swallow Global -zecke 40// once we totally skip libqpe it should ideally swallow Global -zecke
41// You're right. I deleted global as the base class. -mickeyl 41// You're right. I deleted global as the base class. -mickeyl
42 42
43 43
44class QFile; 44class QFile;
45class QString; 45class QString;
46/** 46/**
47 *\brief OGlobal contains a list of generic functions 47 *\brief OGlobal contains a list of generic functions
48 * 48 *
49 * The class OGlobal contains small utility functions 49 * The class OGlobal contains small utility functions
50 * which might be useful for other applications to use. It features access 50 * which might be useful for other applications to use. It features access
51 * to the global device config and specialized functions to get information 51 * to the global device config and specialized functions to get information
52 * out of this config like Weekstart or Owner name. 52 * out of this config like Weekstart or Owner name.
53 * 53 *
54 * @todo ODP implement the things from Global which are good 54 * @todo ODP implement the things from Global which are good
55 */ 55 */
56class OGlobal : public Global 56class OGlobal : public Global
57{ 57{
58public: 58public:
59 59
60 // how do they relate to our Document Idea 60 // how do they relate to our Document Idea
61 /** @name Document System related functions 61 /** @name Document System related functions
62 * 62 *
63 */ 63 */
64 //@{ 64 //@{
65 static bool isAppLnkFileName( const QString& str ); 65 static bool isAppLnkFileName( const QString& str );
66 static bool isDocumentFileName( const QString& file ); 66 static bool isDocumentFileName( const QString& file );
67 //@} 67 //@}
68 68
69 /** @name File Operations 69 /** @name File Operations