summaryrefslogtreecommitdiff
authorzecke <zecke>2002-10-05 15:43:47 (UTC)
committer zecke <zecke>2002-10-05 15:43:47 (UTC)
commit779edbc53957cce5d6405cb548a64319b03b57f4 (patch) (unidiff)
treea474f026b8c8bbfaf1e63da58de69c8c79e7d693
parent1818b28784d4b16c9824495a0c0662a883fe6fc7 (diff)
downloadopie-779edbc53957cce5d6405cb548a64319b03b57f4.zip
opie-779edbc53957cce5d6405cb548a64319b03b57f4.tar.gz
opie-779edbc53957cce5d6405cb548a64319b03b57f4.tar.bz2
Updatet PLANS
and Profile Documentation
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/PLANS35
-rw-r--r--noncore/apps/opie-console/profile.h2
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 @@
1Shall we write what the plans are here? 1Shall we write what the plans are here?
2Ok I'll do
2 3
3I think we sould take the TE* stuff from embeddedconsole and use them for the 4I think we sould take the TE* stuff from embeddedconsole and use them for the
4TE here. TE isn't going to be easy starting from scratch. If nobody is doing 5TE here. TE isn't going to be easy starting from scratch. If nobody is doing
5TE yet, i'll try to port that stuff over here. -hash 6TE yet, i'll try to port that stuff over here. -hash
7ibotty is doing it.
8
9From a UNIX point of view we want to do something like minicom
10with a better GUI.
11It should feature some terminal emulation vt100/102, ansi,
12filetransfer via {x,y,z}modem, and some sort of session management.
13Besides this requirement we would like to be able to execute 'scripts'
14in a session.
15A script would just write to the TEmulation and then be sent via
16an IOlayer.
17Then we would like to send keys? Do we want that?
18
19We want a modular architecture which might support plugins in
20the future
21
22(Almost) DONE:
23Framework
24Serial IOLayer
25Saving and Restoring Profiles
26
27TASKS in progress:
28Profile->Session and MainWidget --- Harlekin
29FilesendingLayer - hash
30IOLayer - wazlaf
31Configuration - josef
32TE - ibotty
33
34OPEN tasks:
35Session->Profile - open
36Scripting - open
37Keys - open
38IRDA-Layer - open
39Bluetooth-Layer - open
40FilesendingUI - 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 */
15class Profile { 15class Profile {
16public: 16public:
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 );