[smuxi: 4/10] Frontend-STFL: Implement IsLocalSession
- From: Mirco M. M. Bauer <mmmbauer src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [smuxi: 4/10] Frontend-STFL: Implement IsLocalSession
- Date: Fri, 28 Feb 2014 20:53:53 +0000 (UTC)
commit b834978241e5b8f3047b9f4c35d00e040973e2ee
Author: Calvin B <calvin imaginarycode com>
Date: Sun Feb 23 14:14:22 2014 -0400
Frontend-STFL: Implement IsLocalSession
src/Frontend-STFL/Frontend.cs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/Frontend-STFL/Frontend.cs b/src/Frontend-STFL/Frontend.cs
index 84fa7e1..9d9a741 100644
--- a/src/Frontend-STFL/Frontend.cs
+++ b/src/Frontend-STFL/Frontend.cs
@@ -101,6 +101,12 @@ namespace Smuxi.Frontend.Stfl
}
}
+ public static bool IsLocalEngine {
+ get {
+ return _LocalSession != null && _Session == _LocalSession;
+ }
+ }
+
public static FrontendManager FrontendManager {
get {
return _FrontendManager;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]