Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-mono-tools.git;a=commitdiff;h=2b02d3c2bfacfd354c039acdae3d0d55ed32143d
commit 2b02d3c2bfacfd354c039acdae3d0d55ed32143d Author: bouleetbil <bouleet...@frogdev.info> Date: Wed Sep 1 12:07:40 2010 +0000 *draft services diff --git a/frugal-mono-tools/Service.cs b/frugal-mono-tools/Service.cs new file mode 100644 index 0000000..ef97832 --- /dev/null +++ b/frugal-mono-tools/Service.cs @@ -0,0 +1,52 @@ +// /* +// * Copyright (C) 2010 by Gaetan Gourdin <bouleet...@frogdev.info> +// * +// * This program is free software; you can redistribute it and/or modify +// * it under the terms of the GNU General Public License as published by +// * the Free Software Foundation; either version 2 of the License, or +// * (at your option) any later version. +// * +// * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +// */ +using System; +namespace frugalmonotools +{ + public class Service + { + private string _name; + public string Get_Name() + { + return _name; + } + public Service (string name) + { + _name=name; + } + public bool IsStarted() + { + return true; + } + public bool IsStartedOnBoot() + { + return true; + } + public void Start() + { + } + public void Stop() + { + + } + public EnableDisableOnBoot(bool enableit) + { + } + } +} + diff --git a/frugal-mono-tools/frugal-mono-tools.csproj b/frugal-mono-tools/frugal-mono-tools.csproj index 3b6ec99..b873598 100644 --- a/frugal-mono-tools/frugal-mono-tools.csproj +++ b/frugal-mono-tools/frugal-mono-tools.csproj @@ -86,6 +86,7 @@ <Compile Include="Configuration.cs" /> <Compile Include="VteConsole.cs" /> <Compile Include="gtk-gui\frugalmonotools.VteConsole.cs" /> + <Compile Include="Service.cs" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> diff --git a/frugal-mono-tools/gtk-gui/gui.stetic b/frugal-mono-tools/gtk-gui/gui.stetic index 61264fc..ebd324f 100644 --- a/frugal-mono-tools/gtk-gui/gui.stetic +++ b/frugal-mono-tools/gtk-gui/gui.stetic @@ -28,7 +28,7 @@ <widget class="Gtk.Notebook" id="ONG_principal"> <property name="MemberName" /> <property name="CanFocus">True</property> - <property name="CurrentPage">7</property> + <property name="CurrentPage">3</property> <child> <widget class="Gtk.VBox" id="vbox4"> <property name="MemberName" /> _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git