/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include #include "ApacheMonitor.h" #define LONG_NAME Apache HTTP Server Monitor #define BIN_NAME ApacheMonitor.exe #include "../../build/win32/httpd.rc" IDI_APSRVMON ICON DISCARDABLE "ApacheMonitor.ico" IDI_ICOSTOP ICON DISCARDABLE "apstop.ico" IDI_ICORUN ICON DISCARDABLE "aprun.ico" IDD_DLGSERVICES DIALOGEX 0, 0, 350, 188 STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_MINIMIZEBOX | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTROLPARENT CAPTION "Apache Service Monitor" FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "&OK",IDOK,298,49,50,14 LTEXT "Tjeneste St&atus :",IDC_SSTATUS,3,40,272,8 LISTBOX IDL_SERVICES,2,49,285,73,LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP LISTBOX IDL_STDOUT,2,124,285,51,LBS_NOINTEGRALHEIGHT | LBS_DISABLENOSCROLL | LBS_NOSEL | WS_VSCROLL PUSHBUTTON "&Start",IDC_SSTART,298,65,50,14 PUSHBUTTON "S&topp",IDC_SSTOP,298,81,50,14 PUSHBUTTON "&Start på nytt",IDC_SRESTART,298,97,50,14 PUSHBUTTON "t&jenester",IDC_SMANAGER,298,113,50,14 CONTROL IDB_BMPHEADER,IDC_STATIC,"Static",SS_BITMAP,0,0,349,38 PUSHBUTTON "&Koble til",IDC_SCONNECT,298,129,50,14 PUSHBUTTON "Koble &fra",IDC_SDISCONN,298,145,50,14 PUSHBUTTON "A&vslutt",IDC_SEXIT,298,161,50,14 END IDD_DLGCONNECT DIALOGEX 0, 0, 240, 54 STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_VISIBLE | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTROLPARENT CAPTION "Koble til en eksternt datamaskin" FONT 8, "MS Sans Serif" BEGIN LTEXT "Datamaskin &Navn:",IDC_LREMOTE,7,4,155,8 EDITTEXT IDC_COMPUTER,7,14,169,14,ES_AUTOHSCROLL DEFPUSHBUTTON "&OK",IDOK,183,14,50,14 PUSHBUTTON "&Avbryt",IDCANCEL,183,34,50,14 PUSHBUTTON "&Bla gjennom",IDC_LBROWSE,7,34,50,14 END IDB_BMPSTOP BITMAP DISCARDABLE "sstop.bmp" IDB_BMPRUN BITMAP DISCARDABLE "srun.bmp" IDB_BMPHEADER BITMAP DISCARDABLE "apache_header.bmp" STRINGTABLE DISCARDABLE BEGIN IDS_APMONITORTITLE "Apache Service Monitor" IDS_APMONITORCLASS "ApacheServiceMonitorClass" END STRINGTABLE DISCARDABLE BEGIN IDS_MSG_APPRUNNING "Apache monitor er allerede blitt startet" IDS_MSG_ERROR "Feil" IDS_MSG_RUNNINGALL "Kjører alle Apache tjenester" IDS_MSG_RUNNING "Kjører %d av %d Apache tjenester" IDS_MSG_RUNNINGNONE "Kjører ingen %d Apache tjenester" IDS_MSG_NOSERVICES "Ingen tjeneste er installert" IDS_MSG_MNUSERVICES "Åpne &tjenester" IDS_MSG_MNUSHOW "&Åpne Apache Monitor" IDS_MSG_MNUEXIT "A&vslutt" IDS_MSG_SRVSTART "%s tjeneste er startet." IDS_MSG_SRVSTARTED "%s tjeneste er startet." IDS_MSG_SRVSTOP "%s tjeneste er stoppet." IDS_MSG_SRVSTOPPED "%s tjeneste har stoppet." IDS_MSG_SRVRESTART "%s tjeneste har blitt starter på nytt." IDS_MSG_SRVRESTARTED "%s tjeneste har starter på nytt." IDS_MSG_SRVFAILED "nåværende operasjon mislykkes!" IDS_MSG_SSTART "&Start" IDS_MSG_SSTOP "S&topp" IDS_MSG_SRESTART "&start på nytt" IDS_MSG_SERVICES "&tjenester" IDS_MSG_CONNECT "&Koble til" IDS_MSG_ECONNECT "Kan ikke koble til eksternt register på %s" END