summaryrefslogtreecommitdiff
authorzecke <zecke>2002-10-05 15:43:47 (UTC)
committer zecke <zecke>2002-10-05 15:43:47 (UTC)
commit779edbc53957cce5d6405cb548a64319b03b57f4 (patch) (side-by-side diff)
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 @@
Shall we write what the plans are here?
+Ok I'll do
I think we sould take the TE* stuff from embeddedconsole and use them for the
TE here. TE isn't going to be easy starting from scratch. If nobody is doing
TE yet, i'll try to port that stuff over here. -hash
+ibotty is doing it.
+
+From a UNIX point of view we want to do something like minicom
+with a better GUI.
+It should feature some terminal emulation vt100/102, ansi,
+filetransfer via {x,y,z}modem, and some sort of session management.
+Besides this requirement we would like to be able to execute 'scripts'
+in a session.
+A script would just write to the TEmulation and then be sent via
+an IOlayer.
+Then we would like to send keys? Do we want that?
+
+We want a modular architecture which might support plugins in
+the future
+
+(Almost) DONE:
+Framework
+Serial IOLayer
+Saving and Restoring Profiles
+
+TASKS in progress:
+Profile->Session and MainWidget --- Harlekin
+FilesendingLayer - hash
+IOLayer - wazlaf
+Configuration - josef
+TE - ibotty
+
+OPEN tasks:
+Session->Profile - open
+Scripting - open
+Keys - open
+IRDA-Layer - open
+Bluetooth-Layer - open
+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,68 +1,68 @@
#ifndef OPIE_PROFILE_H
#define OPIE_PROFILE_H
#include <qmap.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qvaluelist.h>
/**
* A session will be generated from a saved
* profile. A profile contains the iolayername
* a name.
* We can generate a Session from a Profile
- * No configuration is contained here....
+ * Configuration is contained here too
*/
class Profile {
public:
typedef QValueList<Profile> ValueList;
enum Color { Black = 0,
White,
Gray };
enum Terminal {VT102 = 0 };
enum Font { Micro = 0, Small, Medium };
Profile();
Profile( const QString& name,
const QString& iolayerName,
int background,
int foreground,
int terminal);
Profile( const Profile& );
Profile &operator=( const Profile& );
bool operator==( const Profile& prof );
~Profile();
QString name()const;
QString ioLayerName()const;
int foreground()const;
int background()const;
int terminal()const;
/*
* config stuff
*/
QMap<QString, QString> conf()const;
void clearConf();
void writeEntry( const QString& key, const QString& value );
void writeEntry( const QString& key, int num );
void writeEntry( const QString& key, bool b );
void writeEntry( const QString& key, const QStringList&, const QChar& );
QString readEntry( const QString& key, const QString& deflt = QString::null)const;
int readNumEntry( const QString& key, int = -1 )const;
bool readBoolEntry( const QString& key, bool = FALSE )const;
void setName( const QString& );
void setIOLayer( const QString& );
void setBackground( int back );
void setForeground( int fore );
void setTerminal( int term );
void setConf( const QMap<QString, QString>& );
private:
QMap<QString, QString> m_conf;
QString m_name;
QString m_ioLayer;
int m_back;
int m_fore;
int m_terminal;
};
#endif