author | alwin <alwin> | 2004-03-02 22:54:05 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-03-02 22:54:05 (UTC) |
commit | 3f5ca7734d2534ca90c13228504b6218f18f5afe (patch) (unidiff) | |
tree | 088184edbeaf3891960428c4107f8b064001af5d /libopie2 | |
parent | 13348f11ba1cfa4787b973d65bfba8fc08299867 (diff) | |
download | opie-3f5ca7734d2534ca90c13228504b6218f18f5afe.zip opie-3f5ca7734d2534ca90c13228504b6218f18f5afe.tar.gz opie-3f5ca7734d2534ca90c13228504b6218f18f5afe.tar.bz2 |
prefix correction for secondary namespace
-rw-r--r-- | libopie2/templates/lib_cpp.cpp | 14 | ||||
-rw-r--r-- | libopie2/templates/lib_h.h | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/libopie2/templates/lib_cpp.cpp b/libopie2/templates/lib_cpp.cpp index b3e25bd..e87d0f2 100644 --- a/libopie2/templates/lib_cpp.cpp +++ b/libopie2/templates/lib_cpp.cpp | |||
@@ -1,16 +1,16 @@ | |||
1 | /* | 1 | /* |
2 | * this file describes how the usage in namespaces in libopie2 should be done | 2 | * this file describes how the usage in namespaces in libopie2 should be done |
3 | * ODP is the namespace for whole opie2 stuff | 3 | * ODP is the namespace for whole opie2 stuff |
4 | * the parts are separated as follow: | 4 | * the parts are separated as follow: |
5 | * ONet: opienet2 | 5 | * Net: opienet2 |
6 | * OPim: opiepim2 | 6 | * Pim: opiepim2 |
7 | * ODb: opiedb2 | 7 | * Db: opiedb2 |
8 | * OCore: opiecore2 | 8 | * Core: opiecore2 |
9 | * OMm: opiemm2 | 9 | * Mm: opiemm2 |
10 | * OUi: opieui2 | 10 | * Ui: opieui2 |
11 | * a class MUST start with O - so we make sure that it does not | 11 | * a class MUST start with O - so we make sure that it does not |
12 | * conflict with other stuff. | 12 | * conflict with other stuff. |
13 | * don't use "using namespace .." in implementations. | 13 | * don't use "using namespace .." in implementations. |
14 | */ | 14 | */ |
15 | /* | 15 | /* |
16 | This file is part of the Opie Project | 16 | This file is part of the Opie Project |
@@ -50,13 +50,13 @@ opie (and for now, qpe) includes here | |||
50 | qte includes here | 50 | qte includes here |
51 | 51 | ||
52 | /* STD */ | 52 | /* STD */ |
53 | standard includes here | 53 | standard includes here |
54 | 54 | ||
55 | namespace ODP { | 55 | namespace ODP { |
56 | namespace ONet { | 56 | namespace Net { |
57 | OFtpNetwork::OFtpNetwork() { | 57 | OFtpNetwork::OFtpNetwork() { |
58 | 58 | ||
59 | } | 59 | } |
60 | and so on. | 60 | and so on. |
61 | } | 61 | } |
62 | } | 62 | } |
diff --git a/libopie2/templates/lib_h.h b/libopie2/templates/lib_h.h index aec635f..f6eeb08 100644 --- a/libopie2/templates/lib_h.h +++ b/libopie2/templates/lib_h.h | |||
@@ -1,16 +1,16 @@ | |||
1 | /* | 1 | /* |
2 | * this file describes how the usage in namespaces in libopie2 should be done | 2 | * this file describes how the usage in namespaces in libopie2 should be done |
3 | * ODP is the namespace for whole opie2 stuff | 3 | * ODP is the namespace for whole opie2 stuff |
4 | * the parts are separated as follow: | 4 | * the parts are separated as follow: |
5 | * ONet: opienet2 | 5 | * Net: opienet2 |
6 | * OPim: opiepim2 | 6 | * Pim: opiepim2 |
7 | * ODb: opiedb2 | 7 | * Db: opiedb2 |
8 | * OCore: opiecore2 | 8 | * Core: opiecore2 |
9 | * OMm: opiemm2 | 9 | * Mm: opiemm2 |
10 | * OUi: opieui2 | 10 | * Ui: opieui2 |
11 | * a class MUST start with O - so we make sure that it does not | 11 | * a class MUST start with O - so we make sure that it does not |
12 | * conflict with other stuff. | 12 | * conflict with other stuff. |
13 | * don't use "using namespace .." in implementations. | 13 | * don't use "using namespace .." in implementations. |
14 | */ | 14 | */ |
15 | /* | 15 | /* |
16 | This file is part of the Opie Project | 16 | This file is part of the Opie Project |
@@ -51,13 +51,13 @@ opie (and for now, qpe) includes here | |||
51 | qte includes here | 51 | qte includes here |
52 | 52 | ||
53 | /* STD */ | 53 | /* STD */ |
54 | 54 | ||
55 | namespace ODP | 55 | namespace ODP |
56 | { | 56 | { |
57 | namspace ONet { | 57 | namspace Net { |
58 | classes here | 58 | classes here |
59 | } | 59 | } |
60 | } | 60 | } |
61 | 61 | ||
62 | #endif | 62 | #endif |
63 | 63 | ||