Style cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39450 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -13,12 +13,15 @@
|
|||||||
#ifndef _SHELL_H
|
#ifndef _SHELL_H
|
||||||
#define _SHELL_H
|
#define _SHELL_H
|
||||||
|
|
||||||
|
|
||||||
#include <SupportDefs.h>
|
#include <SupportDefs.h>
|
||||||
|
|
||||||
|
|
||||||
// TODO: Maybe merge TermParse and Shell classes ?
|
// TODO: Maybe merge TermParse and Shell classes ?
|
||||||
class TerminalBuffer;
|
class TerminalBuffer;
|
||||||
class TermParse;
|
class TermParse;
|
||||||
|
|
||||||
|
|
||||||
class Shell {
|
class Shell {
|
||||||
public:
|
public:
|
||||||
Shell();
|
Shell();
|
||||||
@@ -46,14 +49,16 @@ public:
|
|||||||
virtual status_t AttachBuffer(TerminalBuffer* buffer);
|
virtual status_t AttachBuffer(TerminalBuffer* buffer);
|
||||||
virtual void DetachBuffer();
|
virtual void DetachBuffer();
|
||||||
|
|
||||||
|
private:
|
||||||
|
status_t _Spawn(int row, int col, const char* encoding,
|
||||||
|
int argc, const char** argv);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int fFd;
|
int fFd;
|
||||||
pid_t fProcessID;
|
pid_t fProcessID;
|
||||||
TermParse* fTermParse;
|
TermParse* fTermParse;
|
||||||
bool fAttached;
|
bool fAttached;
|
||||||
|
|
||||||
status_t _Spawn(int row, int col, const char* encoding,
|
|
||||||
int argc, const char** argv);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // _SHELL_H
|
#endif // _SHELL_H
|
||||||
|
|||||||
Reference in New Issue
Block a user