~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to support/win32/ApacheMonitor.rc

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Licensed to the Apache Software Foundation (ASF) under one or more
 
2
 * contributor license agreements.  See the NOTICE file distributed with
 
3
 * this work for additional information regarding copyright ownership.
 
4
 * The ASF licenses this file to You under the Apache License, Version 2.0
 
5
 * (the "License"); you may not use this file except in compliance with
 
6
 * the License.  You may obtain a copy of the License at
 
7
 *
 
8
 *     http://www.apache.org/licenses/LICENSE-2.0
 
9
 *
 
10
 * Unless required by applicable law or agreed to in writing, software
 
11
 * distributed under the License is distributed on an "AS IS" BASIS,
 
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
 * See the License for the specific language governing permissions and
 
14
 * limitations under the License.
 
15
 */
 
16
 
 
17
#include <windows.h>
 
18
 
 
19
#include "ApacheMonitor.h"
 
20
 
 
21
#define LONG_NAME Apache HTTP Server Monitor
 
22
#define BIN_NAME  ApacheMonitor.exe
 
23
 
 
24
#include "../../build/win32/httpd.rc"
 
25
 
 
26
 
 
27
IDI_APSRVMON            ICON    DISCARDABLE     "ApacheMonitor.ico"
 
28
IDI_ICOSTOP             ICON    DISCARDABLE     "apstop.ico"
 
29
IDI_ICORUN              ICON    DISCARDABLE     "aprun.ico"
 
30
 
 
31
IDD_DLGSERVICES DIALOGEX 0, 0, 350, 188
 
32
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_MINIMIZEBOX | WS_VISIBLE | 
 
33
    WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU
 
34
EXSTYLE WS_EX_CONTROLPARENT
 
35
CAPTION "Apache Service Monitor"
 
36
FONT 8, "MS Sans Serif"
 
37
BEGIN
 
38
    DEFPUSHBUTTON   "&OK",IDOK,298,49,50,14
 
39
    LTEXT           "Service St&atus :",IDC_SSTATUS,3,40,272,8
 
40
    LISTBOX         IDL_SERVICES,2,49,285,73,LBS_OWNERDRAWFIXED | 
 
41
                    LBS_HASSTRINGS | LBS_USETABSTOPS | LBS_NOINTEGRALHEIGHT | 
 
42
                    LBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
 
43
    LISTBOX         IDL_STDOUT,2,124,285,51,LBS_NOINTEGRALHEIGHT | 
 
44
                    LBS_DISABLENOSCROLL | LBS_NOSEL | WS_VSCROLL
 
45
    PUSHBUTTON      "&Start",IDC_SSTART,298,65,50,14
 
46
    PUSHBUTTON      "S&top",IDC_SSTOP,298,81,50,14
 
47
    PUSHBUTTON      "&Restart",IDC_SRESTART,298,97,50,14
 
48
    PUSHBUTTON      "Ser&vices",IDC_SMANAGER,298,113,50,14
 
49
    CONTROL         IDB_BMPHEADER,IDC_STATIC,"Static",SS_BITMAP,0,0,349,38
 
50
    PUSHBUTTON      "&Connect",IDC_SCONNECT,298,129,50,14
 
51
    PUSHBUTTON      "&Disconnect",IDC_SDISCONN,298,145,50,14
 
52
    PUSHBUTTON      "E&xit",IDC_SEXIT,298,161,50,14
 
53
END
 
54
 
 
55
IDD_DLGCONNECT DIALOGEX 0, 0, 240, 54
 
56
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_VISIBLE | WS_CLIPCHILDREN | 
 
57
    WS_CAPTION | WS_SYSMENU
 
58
EXSTYLE WS_EX_CONTROLPARENT
 
59
CAPTION "Connect To A Remote Computer"
 
60
FONT 8, "MS Sans Serif"
 
61
BEGIN
 
62
    LTEXT           "Computer &Name:",IDC_LREMOTE,7,4,155,8
 
63
    EDITTEXT        IDC_COMPUTER,7,14,169,14,ES_AUTOHSCROLL
 
64
    DEFPUSHBUTTON   "&OK",IDOK,183,14,50,14
 
65
    PUSHBUTTON      "&Cancel",IDCANCEL,183,34,50,14
 
66
    PUSHBUTTON      "&Browse",IDC_LBROWSE,7,34,50,14
 
67
END
 
68
 
 
69
IDB_BMPSTOP             BITMAP  DISCARDABLE     "sstop.bmp"
 
70
IDB_BMPRUN              BITMAP  DISCARDABLE     "srun.bmp"
 
71
IDB_BMPHEADER           BITMAP  DISCARDABLE     "apache_header.bmp"
 
72
 
 
73
STRINGTABLE DISCARDABLE 
 
74
BEGIN
 
75
    IDS_APMONITORTITLE      "Apache Service Monitor"
 
76
    IDS_APMONITORCLASS      "ApacheServiceMonitorClass"
 
77
END
 
78
 
 
79
STRINGTABLE DISCARDABLE 
 
80
BEGIN
 
81
    IDS_MSG_APPRUNNING      "Apache monitor is already started"
 
82
    IDS_MSG_ERROR           "Error"
 
83
    IDS_MSG_RUNNINGALL      "Running all Apache services"
 
84
    IDS_MSG_RUNNING         "Running %d of %d Apache services"
 
85
    IDS_MSG_RUNNINGNONE     "Running none of %d Apache services"
 
86
    IDS_MSG_NOSERVICES      "No services installed"
 
87
    IDS_MSG_MNUSERVICES     "Open &Services"
 
88
    IDS_MSG_MNUSHOW         "&Open Apache Monitor"
 
89
    IDS_MSG_MNUEXIT         "E&xit"
 
90
    IDS_MSG_SRVSTART        "The %s service is starting."
 
91
    IDS_MSG_SRVSTARTED      "The %s service has started."
 
92
    IDS_MSG_SRVSTOP         "The %s service is stopping."
 
93
    IDS_MSG_SRVSTOPPED      "The %s service has stopped."
 
94
    IDS_MSG_SRVRESTART      "The %s service is restarting."
 
95
    IDS_MSG_SRVRESTARTED    "The %s service has restarted."
 
96
    IDS_MSG_SRVFAILED       "The requested operation has failed!"
 
97
    IDS_MSG_SSTART          "&Start"
 
98
    IDS_MSG_SSTOP           "S&top"
 
99
    IDS_MSG_SRESTART        "&Restart"
 
100
    IDS_MSG_SERVICES        "Ser&vices"
 
101
    IDS_MSG_CONNECT         "&Connect"
 
102
    IDS_MSG_ECONNECT        "Unable to connect to the remote registry on %s"
 
103
END