1 /* 2 * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef SHELL_INFO_H 6 #define SHELL_INFO_H 7 8 9 #include <OS.h> 10 11 12 class ShellInfo { 13 public: 14 ShellInfo(); 15 16 pid_t ProcessID() const 17 { return fProcessID; } 18 void SetProcessID(pid_t processID) 19 { fProcessID = processID; } 20 21 bool IsDefaultShell() const 22 { return fIsDefaultShell; } 23 void SetDefaultShell(bool isDefault) 24 { fIsDefaultShell = isDefault; } 25 26 private: 27 pid_t fProcessID; 28 bool fIsDefaultShell; 29 }; 30 31 32 #endif // SHELL_INFO_H 33