author | zecke <zecke> | 2002-10-05 15:43:47 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-05 15:43:47 (UTC) |
commit | 779edbc53957cce5d6405cb548a64319b03b57f4 (patch) (unidiff) | |
tree | a474f026b8c8bbfaf1e63da58de69c8c79e7d693 | |
parent | 1818b28784d4b16c9824495a0c0662a883fe6fc7 (diff) | |
download | opie-779edbc53957cce5d6405cb548a64319b03b57f4.zip opie-779edbc53957cce5d6405cb548a64319b03b57f4.tar.gz opie-779edbc53957cce5d6405cb548a64319b03b57f4.tar.bz2 |
Updatet PLANS
and Profile Documentation
-rw-r--r-- | noncore/apps/opie-console/PLANS | 35 | ||||
-rw-r--r-- | noncore/apps/opie-console/profile.h | 2 |
2 files changed, 36 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/PLANS b/noncore/apps/opie-console/PLANS index dae417f..afcb04c 100644 --- a/noncore/apps/opie-console/PLANS +++ b/noncore/apps/opie-console/PLANS | |||
@@ -1,5 +1,40 @@ | |||
1 | Shall we write what the plans are here? | 1 | Shall we write what the plans are here? |
2 | Ok I'll do | ||
2 | 3 | ||
3 | I think we sould take the TE* stuff from embeddedconsole and use them for the | 4 | I think we sould take the TE* stuff from embeddedconsole and use them for the |
4 | TE here. TE isn't going to be easy starting from scratch. If nobody is doing | 5 | TE here. TE isn't going to be easy starting from scratch. If nobody is doing |
5 | TE yet, i'll try to port that stuff over here. -hash | 6 | TE yet, i'll try to port that stuff over here. -hash |
7 | ibotty is doing it. | ||
8 | |||
9 | From a UNIX point of view we want to do something like minicom | ||
10 | with a better GUI. | ||
11 | It should feature some terminal emulation vt100/102, ansi, | ||
12 | filetransfer via {x,y,z}modem, and some sort of session management. | ||
13 | Besides this requirement we would like to be able to execute 'scripts' | ||
14 | in a session. | ||
15 | A script would just write to the TEmulation and then be sent via | ||
16 | an IOlayer. | ||
17 | Then we would like to send keys? Do we want that? | ||
18 | |||
19 | We want a modular architecture which might support plugins in | ||
20 | the future | ||
21 | |||
22 | (Almost) DONE: | ||
23 | Framework | ||
24 | Serial IOLayer | ||
25 | Saving and Restoring Profiles | ||
26 | |||
27 | TASKS in progress: | ||
28 | Profile->Session and MainWidget --- Harlekin | ||
29 | FilesendingLayer - hash | ||
30 | IOLayer - wazlaf | ||
31 | Configuration - josef | ||
32 | TE - ibotty | ||
33 | |||
34 | OPEN tasks: | ||
35 | Session->Profile - open | ||
36 | Scripting - open | ||
37 | Keys - open | ||
38 | IRDA-Layer - open | ||
39 | Bluetooth-Layer - open | ||
40 | FilesendingUI - open \ No newline at end of file | ||
diff --git a/noncore/apps/opie-console/profile.h b/noncore/apps/opie-console/profile.h index 9956bdb..5652ac5 100644 --- a/noncore/apps/opie-console/profile.h +++ b/noncore/apps/opie-console/profile.h | |||
@@ -1,45 +1,45 @@ | |||
1 | #ifndef OPIE_PROFILE_H | 1 | #ifndef OPIE_PROFILE_H |
2 | #define OPIE_PROFILE_H | 2 | #define OPIE_PROFILE_H |
3 | 3 | ||
4 | #include <qmap.h> | 4 | #include <qmap.h> |
5 | #include <qstring.h> | 5 | #include <qstring.h> |
6 | #include <qstringlist.h> | 6 | #include <qstringlist.h> |
7 | #include <qvaluelist.h> | 7 | #include <qvaluelist.h> |
8 | /** | 8 | /** |
9 | * A session will be generated from a saved | 9 | * A session will be generated from a saved |
10 | * profile. A profile contains the iolayername | 10 | * profile. A profile contains the iolayername |
11 | * a name. | 11 | * a name. |
12 | * We can generate a Session from a Profile | 12 | * We can generate a Session from a Profile |
13 | * No configuration is contained here.... | 13 | * Configuration is contained here too |
14 | */ | 14 | */ |
15 | class Profile { | 15 | class Profile { |
16 | public: | 16 | public: |
17 | typedef QValueList<Profile> ValueList; | 17 | typedef QValueList<Profile> ValueList; |
18 | enum Color { Black = 0, | 18 | enum Color { Black = 0, |
19 | White, | 19 | White, |
20 | Gray }; | 20 | Gray }; |
21 | enum Terminal {VT102 = 0 }; | 21 | enum Terminal {VT102 = 0 }; |
22 | enum Font { Micro = 0, Small, Medium }; | 22 | enum Font { Micro = 0, Small, Medium }; |
23 | Profile(); | 23 | Profile(); |
24 | Profile( const QString& name, | 24 | Profile( const QString& name, |
25 | const QString& iolayerName, | 25 | const QString& iolayerName, |
26 | int background, | 26 | int background, |
27 | int foreground, | 27 | int foreground, |
28 | int terminal); | 28 | int terminal); |
29 | Profile( const Profile& ); | 29 | Profile( const Profile& ); |
30 | Profile &operator=( const Profile& ); | 30 | Profile &operator=( const Profile& ); |
31 | bool operator==( const Profile& prof ); | 31 | bool operator==( const Profile& prof ); |
32 | 32 | ||
33 | ~Profile(); | 33 | ~Profile(); |
34 | QString name()const; | 34 | QString name()const; |
35 | QString ioLayerName()const; | 35 | QString ioLayerName()const; |
36 | int foreground()const; | 36 | int foreground()const; |
37 | int background()const; | 37 | int background()const; |
38 | int terminal()const; | 38 | int terminal()const; |
39 | 39 | ||
40 | /* | 40 | /* |
41 | * config stuff | 41 | * config stuff |
42 | */ | 42 | */ |
43 | QMap<QString, QString> conf()const; | 43 | QMap<QString, QString> conf()const; |
44 | void clearConf(); | 44 | void clearConf(); |
45 | void writeEntry( const QString& key, const QString& value ); | 45 | void writeEntry( const QString& key, const QString& value ); |