Module: nagvis
Branch: master
Commit: b60742a765d7a271233b1406522d1a8f7bd5c2a1
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=b60742a765d7a271233b1406522d1a8f7bd5c2a1

Author: Roman Kyrylych <[email protected]>
Date:   Wed Jul 29 13:23:35 2009 +0300

gmap: remove now unused 'selected' field from objects

Signed-off-by: Roman Kyrylych <[email protected]>

---

 share/netmap/Host.php                 |    4 +---
 share/netmap/HostGroup.php            |    4 +---
 share/netmap/Service.php              |    8 +++-----
 share/netmap/ServiceGroup.php         |    4 +---
 uifx/src/modules/gmap/Host.as         |    1 -
 uifx/src/modules/gmap/HostGroup.as    |    1 -
 uifx/src/modules/gmap/Service.as      |    3 +--
 uifx/src/modules/gmap/ServiceGroup.as |    1 -
 8 files changed, 7 insertions(+), 19 deletions(-)

diff --git a/share/netmap/Host.php b/share/netmap/Host.php
index 5cf29b3..547c93b 100644
--- a/share/netmap/Host.php
+++ b/share/netmap/Host.php
@@ -26,14 +26,12 @@ class Host
        public $id;
        public $name;
        public $address;
-       public $selected;
 
-       public function __construct($id, $name, $address, $selected = false)
+       public function __construct($id, $name, $address)
        {
                $this->id = $id;
                $this->name = $name;
                $this->address = $address;
-               $this->selected = $selected;
        }
 }
 
diff --git a/share/netmap/HostGroup.php b/share/netmap/HostGroup.php
index 7f47ceb..b4e4760 100644
--- a/share/netmap/HostGroup.php
+++ b/share/netmap/HostGroup.php
@@ -26,14 +26,12 @@ class HostGroup
        public $id;
        public $name;
        public $alias;
-       public $selected;
 
-       public function __construct($id, $name, $alias = '', $selected = false)
+       public function __construct($id, $name, $alias = '')
        {
                $this->id = $id;
                $this->name = $name;
                $this->alias = $alias;
-               $this->selected = $selected;
        }
 }
 
diff --git a/share/netmap/Service.php b/share/netmap/Service.php
index 5444d5c..7cf55b0 100644
--- a/share/netmap/Service.php
+++ b/share/netmap/Service.php
@@ -24,16 +24,14 @@
 class Service
 {
        public $id;
-       public $description;
        public $host;
-       public $selected;
+       public $description;
 
-       public function __construct($id, $description, $host, $selected = false)
+       public function __construct($id, $description, $host)
        {
                $this->id = $id;
-               $this->description= $description;
                $this->host = $host;
-               $this->selected = $selected;
+               $this->description= $description;
        }
 }
 
diff --git a/share/netmap/ServiceGroup.php b/share/netmap/ServiceGroup.php
index 907d5dc..7eff9df 100644
--- a/share/netmap/ServiceGroup.php
+++ b/share/netmap/ServiceGroup.php
@@ -26,14 +26,12 @@ class ServiceGroup
        public $id;
        public $name;
        public $alias;
-       public $selected;
 
-       public function __construct($id, $name, $alias = '', $selected = false)
+       public function __construct($id, $name, $alias = '')
        {
                $this->id = $id;
                $this->name = $name;
                $this->alias = $alias;
-               $this->selected = $selected;
        }
 }
 
diff --git a/uifx/src/modules/gmap/Host.as b/uifx/src/modules/gmap/Host.as
index a6e4b6d..53060c7 100644
--- a/uifx/src/modules/gmap/Host.as
+++ b/uifx/src/modules/gmap/Host.as
@@ -28,6 +28,5 @@ package modules.gmap
                public var id : String;
                public var name : String;
                public var address : String;
-               public var selected : Boolean;
        }
 }
diff --git a/uifx/src/modules/gmap/HostGroup.as 
b/uifx/src/modules/gmap/HostGroup.as
index ad9202e..0769347 100644
--- a/uifx/src/modules/gmap/HostGroup.as
+++ b/uifx/src/modules/gmap/HostGroup.as
@@ -28,6 +28,5 @@ package modules.gmap
                public var id : String;
                public var name : String;
                public var alias : String;
-               public var selected : Boolean;
        }
 }
diff --git a/uifx/src/modules/gmap/Service.as b/uifx/src/modules/gmap/Service.as
index d09f30d..9cf0002 100644
--- a/uifx/src/modules/gmap/Service.as
+++ b/uifx/src/modules/gmap/Service.as
@@ -26,8 +26,7 @@ package modules.gmap
        public class Service
        {
                public var id : String;
-               public var description : String;
                public var host : String;
-               public var selected : Boolean;
+               public var description : String;
        }
 }
diff --git a/uifx/src/modules/gmap/ServiceGroup.as 
b/uifx/src/modules/gmap/ServiceGroup.as
index 0654d9c..3e288a4 100644
--- a/uifx/src/modules/gmap/ServiceGroup.as
+++ b/uifx/src/modules/gmap/ServiceGroup.as
@@ -28,6 +28,5 @@ package modules.gmap
                public var id : String;
                public var name : String;
                public var alias : String;
-               public var selected : Boolean;
        }
 }
\ No newline at end of file


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to