Module: nagvis Branch: master Commit: 434d9a059a881eaad146eb634a6932e9f89dd21f URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=434d9a059a881eaad146eb634a6932e9f89dd21f
Author: Roman Kyrylych <[email protected]> Date: Fri Jul 17 16:36:21 2009 +0300 Added forgotten files for {host,service}group classes Signed-off-by: Roman Kyrylych <[email protected]> --- share/netmap/HostGroup.php | 40 +++++++++++++++++++++++++++++++++ share/netmap/ServiceGroup.php | 40 +++++++++++++++++++++++++++++++++ uifx/src/modules/gmap/HostGroup.as | 33 +++++++++++++++++++++++++++ uifx/src/modules/gmap/ServiceGroup.as | 33 +++++++++++++++++++++++++++ 4 files changed, 146 insertions(+), 0 deletions(-) diff --git a/share/netmap/HostGroup.php b/share/netmap/HostGroup.php new file mode 100644 index 0000000..7f47ceb --- /dev/null +++ b/share/netmap/HostGroup.php @@ -0,0 +1,40 @@ +<?php + +/***************************************************************************** + * + * Copyright (C) 2009 NagVis Project + * + * License: + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + *****************************************************************************/ + +class HostGroup +{ + public $id; + public $name; + public $alias; + public $selected; + + public function __construct($id, $name, $alias = '', $selected = false) + { + $this->id = $id; + $this->name = $name; + $this->alias = $alias; + $this->selected = $selected; + } +} + +?> diff --git a/share/netmap/ServiceGroup.php b/share/netmap/ServiceGroup.php new file mode 100644 index 0000000..907d5dc --- /dev/null +++ b/share/netmap/ServiceGroup.php @@ -0,0 +1,40 @@ +<?php + +/***************************************************************************** + * + * Copyright (C) 2009 NagVis Project + * + * License: + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + *****************************************************************************/ + +class ServiceGroup +{ + public $id; + public $name; + public $alias; + public $selected; + + public function __construct($id, $name, $alias = '', $selected = false) + { + $this->id = $id; + $this->name = $name; + $this->alias = $alias; + $this->selected = $selected; + } +} + +?> diff --git a/uifx/src/modules/gmap/HostGroup.as b/uifx/src/modules/gmap/HostGroup.as new file mode 100644 index 0000000..ad9202e --- /dev/null +++ b/uifx/src/modules/gmap/HostGroup.as @@ -0,0 +1,33 @@ +/***************************************************************************** + * + * Copyright (C) 2009 NagVis Project + * + * License: + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + *****************************************************************************/ + +package modules.gmap +{ + [Bindable] + [RemoteClass(alias="HostGroup")] + public class HostGroup + { + public var id : String; + public var name : String; + public var alias : String; + public var selected : Boolean; + } +} diff --git a/uifx/src/modules/gmap/ServiceGroup.as b/uifx/src/modules/gmap/ServiceGroup.as new file mode 100644 index 0000000..0654d9c --- /dev/null +++ b/uifx/src/modules/gmap/ServiceGroup.as @@ -0,0 +1,33 @@ +/***************************************************************************** + * + * Copyright (C) 2009 NagVis Project + * + * License: + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + *****************************************************************************/ + +package modules.gmap +{ + [Bindable] + [RemoteClass(alias="ServiceGroup")] + public class ServiceGroup + { + public var id : String; + public var name : String; + public var alias : String; + public var selected : Boolean; + } +} \ No newline at end of file ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
