-rw-r--r-- | COPYING | 2 | ||||
-rw-r--r-- | KLogDlg.cpp | 30 | ||||
-rw-r--r-- | KLogDlg.h | 3 | ||||
-rw-r--r-- | help/klog.rtf | 4 | ||||
-rw-r--r-- | help/klog.xml | 5 | ||||
-rw-r--r-- | install/install.cpp | 2 | ||||
-rw-r--r-- | install/install.rc | 10 | ||||
-rw-r--r-- | klog.clw | 2 | ||||
-rw-r--r-- | klog.mak | 39 | ||||
-rw-r--r-- | klog.rc | 32 | ||||
-rw-r--r-- | resource.h | 2 |
11 files changed, 83 insertions, 48 deletions
@@ -1,19 +1,19 @@ -Copyright (c) 1998-2004 Klever Group (http://www.klever.net/) +Copyright (c) 1998-2005 Klever Group (http://www.klever.net/) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/KLogDlg.cpp b/KLogDlg.cpp index 5f1c6c0..bdcb881 100644 --- a/KLogDlg.cpp +++ b/KLogDlg.cpp @@ -1,384 +1,387 @@ // KLogDlg.cpp : implementation file
//
#include "stdafx.h"
#include "KLog.h"
#include "SyslogSocket.h"
#include "KLogDlg.h"
#include "Trayer.h"
#include "LogPattern.h"
#include "WarnBlocking.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_SERIAL( CKLogDlg, CDialog, VERSIONABLE_SCHEMA|1 );
IMPLEMENT_SERIAL( CLogger, CObject, VERSIONABLE_SCHEMA|1 );
IMPLEMENT_SERIAL( CLogEntry, CObject, VERSIONABLE_SCHEMA|1 );
IMPLEMENT_SERIAL( CHostMask, CObject, VERSIONABLE_SCHEMA|1 );
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App About
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// Dialog Data
//{{AFX_DATA(CAboutDlg)
enum { IDD = IDD_ABOUTBOX };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAboutDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//{{AFX_MSG(CAboutDlg)
afx_msg void OnKlevernet();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
//{{AFX_DATA_INIT(CAboutDlg)
//}}AFX_DATA_INIT
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAboutDlg)
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
//{{AFX_MSG_MAP(CAboutDlg)
ON_BN_CLICKED(IDC_KLEVERNET, OnKlevernet)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CKLogDlg dialog
CKLogDlg::CKLogDlg(CWnd* pParent /*=NULL*/)
: CDialog(CKLogDlg::IDD, pParent)
{
m_Logger=NULL;
m_LogItems=15;
m_bShown=TRUE;
m_bExiting=FALSE;
m_bWarnBlocking=TRUE;
m_bDontWarn=TRUE;
//{{AFX_DATA_INIT(CKLogDlg)
m_Logto = -1;
m_Desc = _T("");
m_Facility = _T("");
m_HFName = _T("");
m_HFNameCaption = _T("");
m_hlIP = _T("");
m_hlMask = _T("");
m_Sound = _T("");
//}}AFX_DATA_INIT
// Note that LoadIcon does not require a subsequent DestroyIcon in Win32
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
m_bmpBack.LoadBitmap(IDB_BACKGROUND);
m_bmpBack.GetBitmap(&m_bitmapBack);
m_Trayer = new CTrayer(this);
ASSERT(m_Trayer);
LoadSettings();
}
void CKLogDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CKLogDlg)
+ DDX_Control(pDX, IDCANCEL, m_CancelCtl);
DDX_Control(pDX, IDC_LOGPATTERN, m_LogPatternCtl);
DDX_Control(pDX, IDC_FILES, m_FilesCtl);
DDX_Control(pDX, IDC_LOGLENSPIN, m_LogLenSpinCtl);
DDX_Control(pDX, IDC_LOGLENGTH, m_LogLengthCtl);
DDX_Control(pDX, IDC_INVERT, m_PriInvertCtl);
DDX_Control(pDX, IDC_TYPE_FILE, m_LogtoFileCtl);
DDX_Control(pDX, IDC_TYPE_HOST, m_LogtoHostCtl);
DDX_Control(pDX, IDC_TYPE_NONE, m_LogtoNoneCtl);
DDX_Control(pDX, IDC_HOSTORFILE, m_HFNameCaptionCtl);
DDX_Control(pDX, IDC_HOSTS, m_hlCtl);
DDX_Control(pDX, IDC_BROWSESOUND, m_BrowseSoundCtl);
DDX_Control(pDX, IDC_NONE, m_PriNoneCtl);
DDX_Control(pDX, IDC_HL_REMOVE, m_hlRemoveCtl);
DDX_Control(pDX, IDC_HL_MASK, m_hlMaskCtl);
DDX_Control(pDX, IDC_HL_IP, m_hlIPCtl);
DDX_Control(pDX, IDC_HL_ADD, m_hlAddCtl);
DDX_Control(pDX, IDC_ALL, m_PriAllCtl);
DDX_Control(pDX, IDC_SOUND, m_SoundCtl);
DDX_Control(pDX, IDC_REMOVE, m_RemoveCtl);
DDX_Control(pDX, IDC_PLAYSOUND, m_PlaySoundCtl);
DDX_Control(pDX, IDC_LOG, m_Log);
DDX_Control(pDX, IDC_HOSTFILE, m_HFNameCtl);
DDX_Control(pDX, IDC_FACILITY, m_FacilityCtl);
DDX_Control(pDX, IDC_BROWSE, m_BrowseCtl);
DDX_Control(pDX, IDC_DESC, m_DescCtl);
DDX_Control(pDX, IDC_TABS, m_Tabs);
DDX_Radio(pDX, IDC_TYPE_FILE, m_Logto);
DDX_Text(pDX, IDC_DESC, m_Desc);
DDV_MaxChars(pDX, m_Desc, 50);
DDX_CBString(pDX, IDC_FACILITY, m_Facility);
DDX_Text(pDX, IDC_HOSTFILE, m_HFName);
DDX_Text(pDX, IDC_HOSTORFILE, m_HFNameCaption);
DDX_Text(pDX, IDC_HL_IP, m_hlIP);
DDV_MaxChars(pDX, m_hlIP, 15);
DDX_Text(pDX, IDC_HL_MASK, m_hlMask);
DDV_MaxChars(pDX, m_hlMask, 15);
DDX_CBString(pDX, IDC_SOUND, m_Sound);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CKLogDlg, CDialog)
//{{AFX_MSG_MAP(CKLogDlg)
ON_WM_SYSCOMMAND()
ON_WM_DESTROY()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
ON_BN_CLICKED(IDC_ADD, OnAdd)
ON_NOTIFY(TCN_SELCHANGE, IDC_TABS, OnSelchangeTabs)
ON_CBN_SELCHANGE(IDC_FACILITY, OnSelchangeFacility)
ON_BN_CLICKED(IDC_ALERT, OnPriority)
ON_BN_CLICKED(IDC_TYPE_FILE, OnLogto)
ON_BN_CLICKED(IDC_ALL, OnPriAll)
ON_BN_CLICKED(IDC_NONE, OnPriNone)
ON_EN_CHANGE(IDC_DESC, OnChangeDesc)
ON_BN_CLICKED(IDC_INVERT, OnPriInvert)
ON_BN_CLICKED(IDC_HL_ADD, OnHlAdd)
ON_LBN_SELCHANGE(IDC_HOSTS, OnSelchangeHosts)
ON_BN_CLICKED(IDC_HL_REMOVE, OnHlRemove)
ON_BN_CLICKED(IDC_REMOVE, OnRemove)
ON_BN_CLICKED(IDC_PLAYSOUND, OnPlaysound)
ON_CBN_EDITCHANGE(IDC_SOUND, OnEditchangeSound)
ON_CBN_KILLFOCUS(IDC_SOUND, OnKillfocusSound)
ON_NOTIFY(UDN_DELTAPOS, IDC_LOGLENSPIN, OnDeltaposLoglenspin)
ON_BN_CLICKED(IDC_EXIT, OnExit)
ON_BN_CLICKED(IDC_FILES, OnFiles)
ON_COMMAND(ID_FILES_EXPORT, OnFilesExport)
ON_COMMAND(ID_FILES_IMPORT, OnFilesImport)
ON_BN_CLICKED(IDC_BROWSESOUND, OnBrowsesound)
ON_EN_KILLFOCUS(IDC_HOSTFILE, OnKillfocusHostfile)
ON_BN_CLICKED(IDC_BROWSE, OnBrowse)
ON_COMMAND(ID_FILES_RESET, OnFilesReset)
ON_LBN_SELCHANGE(IDC_LOG, OnSelchangeLog)
ON_WM_CREATE()
ON_WM_CLOSE()
ON_COMMAND(ID_TRAY_ABOUTKLOG, OnTrayAboutklog)
ON_COMMAND(ID_TRAY_EXIT, OnTrayExit)
ON_COMMAND(ID_TRAY_SHOWKLOGWINDOW, OnTrayShowklogwindow)
ON_WM_WINDOWPOSCHANGING()
ON_BN_CLICKED(IDC_LOGPATTERN, OnLogpattern)
+ ON_WM_GETMINMAXINFO()
ON_BN_CLICKED(IDC_CRIT, OnPriority)
ON_BN_CLICKED(IDC_DEBUG, OnPriority)
ON_BN_CLICKED(IDC_EMERG, OnPriority)
ON_BN_CLICKED(IDC_ERR, OnPriority)
ON_BN_CLICKED(IDC_INFO, OnPriority)
ON_BN_CLICKED(IDC_NOTICE, OnPriority)
ON_BN_CLICKED(IDC_WARNING, OnPriority)
ON_BN_CLICKED(IDC_TYPE_HOST, OnLogto)
ON_BN_CLICKED(IDC_TYPE_NONE, OnLogto)
+ ON_WM_SIZE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CKLogDlg message handlers
BOOL CKLogDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// Add "About..." menu item to system menu.
// IDM_ABOUTBOX must be in the system command range.
ASSERT((IDM_ABOUTBOX & 0xFFF0) == IDM_ABOUTBOX);
ASSERT(IDM_ABOUTBOX < 0xF000);
CMenu* pSysMenu = GetSystemMenu(FALSE);
CString strAboutMenu;
strAboutMenu.LoadString(IDS_ABOUTBOX);
if (!strAboutMenu.IsEmpty())
{
pSysMenu->AppendMenu(MF_SEPARATOR);
pSysMenu->AppendMenu(MF_STRING, IDM_ABOUTBOX, strAboutMenu);
}
// Set the icon for this dialog. The framework does this automatically
// when the application's main window is not a dialog
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
m_KLS.m_Daddy=this;
VERIFY(m_KLS.CreateListen());
m_SLS.Create(0,SOCK_DGRAM);
m_LogLenSpinCtl.SetRange(5,50);
UpdateLogLength(FALSE,FALSE);
// Adjust Tab control rectangle size and padding
CRect rbrc,tcrc;
m_DescCtl.GetWindowRect(&rbrc);
m_Tabs.GetClientRect(&tcrc);
m_Tabs.ClientToScreen(&tcrc);
m_Tabs.SetItemSize(CSize(0,rbrc.top-tcrc.top-4));
m_Tabs.SetPadding(CSize(5,5));
// Load Image List
m_Images.Create(16,16,TRUE,2,1);
m_iNormal=m_Images.Add(AfxGetApp()->LoadIcon(IDI_KLOG));
m_iTriggered=m_Images.Add(AfxGetApp()->LoadIcon(IDI_KLOG_TRIGGERED));
m_Tabs.SetImageList(&m_Images);
// Set Icons
m_BrowseSoundCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_BROWSE));
m_PlaySoundCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_PREPLAY));
m_LogPatternCtl.SetIcon(AfxGetApp()->LoadIcon(IDI_LOGPATTERN));
// Create ToolTip Control
m_tooltip.Create(this);
m_tooltip.Activate(TRUE);
// Restore Layout
OnFilesReset();
SetWindowPos(NULL,6,6,0,0,SWP_NOZORDER|SWP_NOACTIVATE|SWP_NOSIZE);
if(m_bShown)
ShowWindow(SW_SHOW);
else
ShowWindow(SW_HIDE);
// Add Tips captions
m_tooltip.AddTool(GetDlgItem(IDC_ADD),IDC_ADD);
m_tooltip.AddTool(&m_RemoveCtl,IDC_REMOVE);
m_tooltip.AddTool(&m_LogLengthCtl,IDC_LOGLENGTH); m_tooltip.AddTool(&m_LogLenSpinCtl,IDC_LOGLENGTH);
m_tooltip.AddTool(GetDlgItem(IDC_STATIC_LOGLENGTH),IDC_LOGLENGTH);
m_tooltip.AddTool(GetDlgItem(IDC_FILES),IDC_FILES);
m_tooltip.AddTool(GetDlgItem(IDC_EXIT),IDC_EXIT);
m_tooltip.AddTool(&m_LogtoFileCtl,IDC_TYPE_FILE);
m_tooltip.AddTool(&m_LogtoHostCtl,IDC_TYPE_HOST);
m_tooltip.AddTool(&m_LogtoNoneCtl,IDC_TYPE_NONE);
m_tooltip.AddTool(&m_hlCtl,IDC_HOSTS);
m_tooltip.AddTool(&m_Log,IDC_LOG);
m_tooltip.AddTool(&m_LogPatternCtl,IDC_LOGPATTERN);
return TRUE; // return TRUE unless you set the focus to a control
}
void CKLogDlg::OnSysCommand(UINT nID, LPARAM lParam)
{
switch(nID&0xFFF0){
case IDM_ABOUTBOX:
{
OnTrayAboutklog();
}
break;
case SC_CONTEXTHELP:
AfxGetApp()->WinHelp(0,HELP_FINDER);
break;
default:
CDialog::OnSysCommand(nID, lParam);
break;
}
}
void CKLogDlg::OnDestroy()
{
NOTIFYICONDATA nid;
memset(&nid,0,sizeof(nid));
nid.cbSize=sizeof(nid);
nid.hWnd=m_Trayer->m_hWnd;
nid.uID=IDC_TRAYICON;
nid.uFlags=0;
VERIFY(Shell_NotifyIcon(NIM_DELETE,&nid));
WinHelp(0L, HELP_QUIT);
CDialog::OnDestroy();
}
// If you add a minimize button to your dialog, you will need the code below
// to draw the icon. For MFC applications using the document/view model,
// this is automatically done for you by the framework.
void CKLogDlg::OnPaint()
{
if (IsIconic())
{
CPaintDC dc(this); // device context for painting
SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
// Center icon in client rectangle
int cxIcon = GetSystemMetrics(SM_CXICON);
int cyIcon = GetSystemMetrics(SM_CYICON);
CRect rect;
GetClientRect(&rect);
int x = (rect.Width() - cxIcon + 1) / 2;
int y = (rect.Height() - cyIcon + 1) / 2;
// Draw the icon
dc.DrawIcon(x, y, m_hIcon);
}
else
{
CPaintDC pDC(this);
CDC bmpDC;
bmpDC.CreateCompatibleDC(&pDC);
bmpDC.SelectObject(&m_bmpBack);
CRect rc;
GetClientRect(&rc);
for(int x=-m_bitmapBack.bmWidth*2/4;x<rc.Width();x+=m_bitmapBack.bmWidth)
for(int y=-m_bitmapBack.bmHeight*2/4;y<rc.Height();y+=m_bitmapBack.bmHeight)
pDC.BitBlt(x,y,m_bitmapBack.bmWidth,m_bitmapBack.bmHeight,&bmpDC,0,0,SRCCOPY);
bmpDC.DeleteDC();
CDialog::OnPaint();
}
}
// The system calls this to obtain the cursor to display while the user drags
// the minimized window.
HCURSOR CKLogDlg::OnQueryDragIcon()
{
return (HCURSOR) m_hIcon;
}
void CKLogDlg::OnAdd()
{
CLogger *l = new CLogger(m_Tabs.GetItemCount()?FALSE:TRUE);
ASSERT(l);
m_Logs[l]=l;
TC_ITEM ptc;
memset(&ptc,0,sizeof(ptc));
ptc.mask=TCIF_TEXT|TCIF_IMAGE|TCIF_PARAM;
ptc.pszText=(LPTSTR)(LPCTSTR)l->m_Desc;
ptc.iImage=m_iNormal;
ptc.lParam=(LPARAM)l;
int tmp=m_Tabs.InsertItem(m_Tabs.GetItemCount(),&ptc);
m_Tabs.SetCurSel(tmp);
SetTab(l);
m_RemoveCtl.EnableWindow(m_Tabs.GetItemCount()>1);
}
void CKLogDlg::OnSelchangeTabs(NMHDR* pNMHDR, LRESULT* pResult)
{
int cs = m_Tabs.GetCurSel();
ASSERT(cs>=0);
TC_ITEM ptci;
memset(&ptci,0,sizeof(ptci));
ptci.mask=TCIF_PARAM;
VERIFY(m_Tabs.GetItem(cs,&ptci));
CLogger *l = (CLogger*)ptci.lParam;
memset(&ptci,0,sizeof(ptci));
@@ -1176,192 +1179,219 @@ CLogEntry& CLogEntry::operator=(CLogEntry& src) } CLogEntry::CLogEntry(CLogEntry& src) { (*this)=src; } void CKLogDlg::AddLogLine(CLogEntry *le) { ASSERT(le);
int i = m_Log.AddString(le->m_Data);
m_Log.SetItemData(i,(DWORD)le);
m_Log.SetCurSel(i); } BOOL CKLogDlg::PreTranslateMessage(MSG* pMsg) { // CG: The following block was added by the ToolTips component. { // Let the ToolTip process this message. m_tooltip.RelayEvent(pMsg); return CDialog::PreTranslateMessage(pMsg); } } void CKLogDlg::OnSelchangeLog()
{
int i = m_Log.GetCurSel();
if(i==LB_ERR)
return;
CLogEntry *le = (CLogEntry*)m_Log.GetItemData(i);
ASSERT(le);
CString tmp;
tmp.Format(IDS_TIP_LOG,
(LPCTSTR)le->m_Time.Format(IDS_LOGTIMEFORMAT),
(LPCTSTR)le->m_Source,
CSyslogSocket::m_Facilities[le->m_Facility],
CSyslogSocket::m_Priorities[le->m_Priority]
);
m_tooltip.UpdateTipText(tmp,&m_Log);
}
int CKLogDlg::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CDialog::OnCreate(lpCreateStruct) == -1)
return -1;
if(!m_Trayer->Create(NULL,"PumpKIN TrayIcon",WS_CHILD,CRect(0,0,0,0),this,0)){
TRACE0("Failed to create trayer\n");
return -1;
}
NOTIFYICONDATA nid;
memset(&nid,0,sizeof(nid));
nid.cbSize=sizeof(nid);
nid.hWnd=m_Trayer->m_hWnd;
nid.uID=IDC_TRAYICON;
nid.uFlags=NIF_MESSAGE|NIF_ICON|NIF_TIP;
nid.uCallbackMessage=WM_TRAYICON;
nid.hIcon=AfxGetApp()->LoadIcon(IDR_MAINFRAME);
// *** Load from resource
strcpy(nid.szTip,"KLog");
VERIFY(Shell_NotifyIcon(NIM_ADD,&nid));
return 0;
}
void CKLogDlg::OnClose()
{
OnTrayShowklogwindow();
}
void CKLogDlg::OnTrayAboutklog()
{
CAboutDlg dlgAbout;
dlgAbout.DoModal();
}
void CKLogDlg::OnTrayExit()
{
OnExit();
}
void CKLogDlg::OnTrayShowklogwindow()
{
if(IsWindowVisible()){
m_bShown=FALSE;
ShowWindow(SW_HIDE);
}else{
m_bShown=TRUE;
ShowWindow(SW_SHOW);
SetForegroundWindow();
SetFocus();
}
}
void CKLogDlg::OnWindowPosChanging(WINDOWPOS FAR* lpwndpos)
{
CDialog::OnWindowPosChanging(lpwndpos);
if(!m_bExiting){
if(m_bShown){
lpwndpos->flags&=~SWP_HIDEWINDOW;
lpwndpos->flags|=SWP_SHOWWINDOW;
}else{
lpwndpos->flags&=~SWP_SHOWWINDOW;
lpwndpos->flags|=SWP_HIDEWINDOW;
if(::GetForegroundWindow()==m_hWnd && (m_Trayer && !m_Trayer->m_inMenu))
GetDesktopWindow()->SetForegroundWindow();
}
}
}
void CKLogDlg::LoadSettings() { CWinApp *app = AfxGetApp();
ASSERT(app);
m_LogItems=app->GetProfileInt("UISettings","LogLength",m_LogItems);
m_bShown=app->GetProfileInt("UISettings","Visible",m_bShown);
m_bWarnBlocking=app->GetProfileInt("Resolve","WarnBlocking",m_bWarnBlocking);
m_bDontWarn=app->GetProfileInt("Resolve","DontWarn",m_bDontWarn); } void CKLogDlg::SaveSettings() { CWinApp *app = AfxGetApp();
ASSERT(app);
app->WriteProfileInt("UISettings","LogLength",m_LogItems);
app->WriteProfileInt("UISettings","Visible",m_bShown);
app->WriteProfileInt("Resolve","WarnBlocking",m_bWarnBlocking);
app->WriteProfileInt("Resolve","DontWarn",m_bDontWarn);
CMemFile mf(4096);
CArchive ar(&mf,CArchive::store);
Serialize(ar);
ar.Close();
DWORD dataLength = mf.GetLength();
if(dataLength&0xFFFF0000l){
CString tmp;
tmp.LoadString(IDS_MSG_FAILEDTOSTORE);
MessageBox(tmp,NULL,MB_ICONHAND|MB_OK);
}else{
UINT dl = (UINT)dataLength;
BYTE *data = mf.Detach();
app->WriteProfileBinary("Layout","Destinations",data,dl);
delete data;
}
} CKLogDlg::~CKLogDlg() { delete m_Trayer; } void CKLogDlg::OnLogpattern()
{
CLogPattern lp(IDS_LOGPATTERN_TITLE,this);
memmove(lp.m_Pattern,m_Logger->m_LogPattern,sizeof(lp.m_Pattern));
if(lp.DoModal()==IDOK){
memmove(m_Logger->m_LogPattern,lp.m_Pattern,sizeof(m_Logger->m_LogPattern));
UpdatePriface(FALSE,TRUE);
}
}
void CLogger::LookupHost(CKLogDlg *daddy) { m_LogToHost.sin_addr.s_addr=inet_addr((LPCTSTR)m_LogToName);
if(m_LogToHost.sin_addr.s_addr==INADDR_NONE){
if(daddy->m_bWarnBlocking){
CWarnBlocking wb(::IsWindow(daddy->m_hWnd)?daddy:NULL);
wb.m_bDontWarn = daddy->m_bDontWarn;
if(wb.DoModal()!=IDOK)
return;
daddy->m_bDontWarn=wb.m_bDontWarn;
daddy->m_bWarnBlocking=!wb.m_bDontWarn;
}
daddy->BeginWaitCursor();
hostent *he = gethostbyname(m_LogToName);
daddy->EndWaitCursor();
if(he){
m_LogToHost.sin_addr.s_addr = *(DWORD*)he->h_addr;
}else{
m_LogToHost.sin_addr.s_addr = INADDR_NONE;
if(daddy->m_bWarnBlocking){
CString sux;
sux.Format(IDS_MSG_LOOKUPFAILED,(LPCTSTR)m_LogToName);
daddy->MessageBox(sux,NULL,MB_ICONSTOP|MB_OK);
}else
MessageBeep(MB_ICONHAND);
}
} } +
+void CKLogDlg::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI)
+{
+ CDialog::OnGetMinMaxInfo(lpMMI);
+ WINDOWPLACEMENT wp;
+ if(IsWindow(m_CancelCtl.m_hWnd) && m_CancelCtl.GetWindowPlacement(&wp)) {
+ CRect wr; GetWindowRect(wr);
+ CRect cr; GetClientRect(cr);
+ CSize ncs = (wr-cr).Size();
+ CRect ctlr = wp.rcNormalPosition;
+ CSize corner = ctlr.BottomRight()+ncs;
+ lpMMI->ptMaxTrackSize.x = lpMMI->ptMinTrackSize.x = corner.cx;
+ lpMMI->ptMinTrackSize.y = corner.cy;
+ }
+}
+
+void CKLogDlg::OnSize(UINT nType, int cx, int cy)
+{
+ CDialog::OnSize(nType, cx, cy);
+ if(!IsWindow(m_Log.m_hWnd))
+ return;
+ WINDOWPLACEMENT lp; m_Log.GetWindowPlacement(&lp);
+ CRect lr = lp.rcNormalPosition;
+ lr.bottom = cy-2;
+ CSize ls = lr.Size();
+ m_Log.SetWindowPos(0,0,0,ls.cx,ls.cy,SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOOWNERZORDER|SWP_NOZORDER);
+}
@@ -1,198 +1,201 @@ // KLogDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CKLogDlg dialog
class CKLogDlg;
class CKLogSocket : public CSyslogSocket {
public:
CKLogDlg* m_Daddy; virtual void Log(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin);
};
class CHostMask : public CObject{
public:
virtual void Serialize(CArchive& ar); DWORD m_Host;
DWORD m_Mask;
BOOL IsThis(DWORD host) { return (host&m_Mask)==(m_Host&m_Mask); }
CHostMask() : m_Host(0), m_Mask(0) {}
CHostMask(DWORD host,DWORD mask) : m_Host(host), m_Mask(mask) {}
CString String(); DECLARE_SERIAL( CHostMask )
};
class CLogEntry : public CObject {
public:
CLogEntry(CLogEntry& src); CLogEntry& operator=(CLogEntry& src); CTime m_Time;
CString m_Source;
CString m_Data;
UINT m_Priority;
UINT m_Facility;
DECLARE_SERIAL( CLogEntry )
public:
CLogEntry(); };
typedef CTypedPtrList<CObList,CHostMask*> CAccessList;
typedef CList<CLogEntry*,CLogEntry*> CLog;
class CLogger : public CObject {
public:
void LookupHost(CKLogDlg *daddy); void LogLine(CKLogDlg *dad,UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin); BOOL IsHostFine(DWORD saddr); virtual void Serialize(CArchive& ar); virtual ~CLogger(); void PlayWave(); CLogger(BOOL bAll=FALSE); CString m_Desc;
enum {
logToFile=0, logToHost=1, logToNone=2,
};
int m_LogTo;
CString m_LogToName;
SOCKADDR_IN m_LogToHost;
BOOL m_LogPattern[CSyslogSocket::totalFacilities][CSyslogSocket::totalPriorities];
CAccessList m_Hosts;
CString m_Sound;
CLog m_Log;
DECLARE_SERIAL( CLogger )
};
typedef CMap<CLogger*,CLogger*,CLogger*,CLogger*> CLoggers;
class CTrayer;
class CKLogDlg : public CDialog
{
// Construction
public:
BOOL m_bDontWarn; BOOL m_bWarnBlocking; CSyslogSocket m_SLS; virtual ~CKLogDlg(); void SaveSettings(); void LoadSettings(); BOOL m_bExiting; BOOL m_bShown; CTrayer* m_Trayer; virtual BOOL PreTranslateMessage(MSG* pMsg); void AddLogLine(CLogEntry *le); void LogMessage(UINT pri,UINT fac,LPCTSTR line,SOCKADDR_IN *sin); CKLogSocket m_KLS; virtual void Serialize(CArchive& ar); void TotalCleanUp(); BITMAP m_bitmapBack;
CBitmap m_bmpBack;
void UpdateLogLength(BOOL bSave=TRUE,BOOL update=FALSE); int m_LogItems; void UpdateLogto(BOOL bSave=TRUE,BOOL update=TRUE); void UpdatePriface(BOOL bSave=TRUE,BOOL update=TRUE); static UINT m_PriorityCtls[CSyslogSocket::totalPriorities]; CLogger* m_Logger; void SetTab(CLogger* l); int m_iTriggered; int m_iNormal; CImageList m_Images; CLoggers m_Logs; CKLogDlg(CWnd* pParent = NULL); // standard constructor
DECLARE_SERIAL( CKLogDlg )
// Dialog Data
//{{AFX_DATA(CKLogDlg)
enum { IDD = IDD_KLOG_DIALOG };
+ CButton m_CancelCtl;
CButton m_LogPatternCtl;
CButton m_FilesCtl;
CSpinButtonCtrl m_LogLenSpinCtl;
CStatic m_LogLengthCtl;
CButton m_PriInvertCtl;
CButton m_LogtoFileCtl;
CButton m_LogtoHostCtl;
CButton m_LogtoNoneCtl;
CStatic m_HFNameCaptionCtl;
CListBox m_hlCtl;
CButton m_BrowseSoundCtl;
CButton m_PriNoneCtl;
CButton m_hlRemoveCtl;
CEdit m_hlMaskCtl;
CEdit m_hlIPCtl;
CButton m_hlAddCtl;
CButton m_PriAllCtl;
CComboBox m_SoundCtl;
CButton m_RemoveCtl;
CButton m_PlaySoundCtl;
CListBox m_Log;
CEdit m_HFNameCtl;
CComboBox m_FacilityCtl;
CButton m_BrowseCtl;
CEdit m_DescCtl;
CTabCtrl m_Tabs;
int m_Logto;
CString m_Desc;
CString m_Facility;
CString m_HFName;
CString m_HFNameCaption;
CString m_hlIP;
CString m_hlMask;
CString m_Sound;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CKLogDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CToolTipCtrl m_tooltip; HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CKLogDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnDestroy();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAdd();
afx_msg void OnSelchangeTabs(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangeFacility();
afx_msg void OnPriority();
afx_msg void OnLogto();
afx_msg void OnPriAll();
afx_msg void OnPriNone();
afx_msg void OnChangeDesc();
afx_msg void OnPriInvert();
afx_msg void OnHlAdd();
afx_msg void OnSelchangeHosts();
afx_msg void OnHlRemove();
afx_msg void OnRemove();
afx_msg void OnPlaysound();
afx_msg void OnEditchangeSound();
afx_msg void OnKillfocusSound();
afx_msg void OnDeltaposLoglenspin(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnExit();
afx_msg void OnFiles();
afx_msg void OnFilesExport();
afx_msg void OnFilesImport();
afx_msg void OnBrowsesound();
afx_msg void OnKillfocusHostfile();
virtual void OnOK();
afx_msg void OnBrowse();
afx_msg void OnFilesReset();
afx_msg void OnSelchangeLog();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnClose();
afx_msg void OnTrayAboutklog();
afx_msg void OnTrayExit();
afx_msg void OnTrayShowklogwindow();
afx_msg void OnWindowPosChanging(WINDOWPOS FAR* lpwndpos);
afx_msg void OnLogpattern();
+ afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
+ afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
diff --git a/help/klog.rtf b/help/klog.rtf index 9531c73..0f72570 100644 --- a/help/klog.rtf +++ b/help/klog.rtf @@ -1,65 +1,67 @@ {\rtf1\ansi
@{\footnote
THIS FILE WAS AUTOMATICALLY GENERATED FROM XML DOCUMENT.
DO NOT MODIFY THIS FILE DIRECTLY. EDIT XML DOCUMENT INSTEAD
}
{\fonttbl{\f0\froman Times New Roman;}{\f1\fswiss Arial;}{\f3\froman Symbol;}}{\colortbl;
\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;
\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;
\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;
\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;}
\pard\plain\keepn
#{\footnote About}
${\footnote About KLog}
{ \f1\fs18\b\sb120 Abotu {\b KLog}}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b KLog} is our {\i Win32} implementation of {\b\cf6 *nix}{\i syslog} daemon to support remote logging of messages from {\b\cf6 unix} servers, routers, terminal servers and other syslog-enabled devices/applications.
\par\sa120\sb120\qj\pard \f1\fs18\sb120
\par\sa120\sb120\qj\pard \f1\fs18\sb120 {\b {\i Enjoy!}}
{
-\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1998-2004 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")}
+\par\pard\plain\sb360\sa120 \f1\fs16 Copyright (c) 1998-2005 {\uldb\cf0 Klever Group (http://www.klever.net/)}{\v %!ExecFile("http://www.klever.net/")}
\par\qj\sb120\sa120Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
\par The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
\par \sa360 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
}
\par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")}
\par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")}
\page
\pard\plain
#{\footnote News}
${\footnote What's New}
+\par\pard\plain\f1\fs24\qc\cf2\b 1.1.1-trunk -
+\par\pard\plain\fi0\li0\f1\fs18 \bullet Added vertical resizability
\par\pard\plain\f1\fs24\qc\cf2\b 1.1 - July 11th, 2004
\par\pard\plain\fi0\li0\f1\fs18 \bullet Change of license and opening the source code
\par\pard\plain\fi0\li0\f1\fs18 \bullet Minor changes in code, mostly bugfixes
\page
\pard\plain\keepn
#{\footnote Using}
${\footnote Using KLog}
{ \f1\fs18\b\sb120 Using {\b KLog}}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 When you start {\b KLog} for the first time it is set to the configuration in which it will silently catch all incoming messages and display them in the log window. Scroll length in initial configuration is set to 15 lines. To learn how to modify this initial configuration you may want to proceed to the {\uldb Main Window}{\v MainWindow} section.
\page
\pard\plain\keepn
#{\footnote MainWindow}
${\footnote Main Window}
{ \f1\fs18\b\sb120 Main Window}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Essentially, main window is a tabbed collection of 'Destinations'. For each destination you can set the destination itself, events criteria and sound {\b KLog} will produce when triggered by event matching criteria.
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Each tab consists of following fields:\pard
\par \fi0\li0 \bullet {\b Short description} - short descriptive text appearing on the tab on top of window.
\par \fi0\li0 \bullet {\b Log to File/Log to Host/Don't Log radio buttons} - let you specify where to forward the events matching criteria below.
\par \fi0\li0 \bullet {\b File/Host name} - Either file name for logging or host name to forward syslog messages to. (note: host address lookups are performed by blocking call, so if you it takes time to resolve host from it's name {\b Klog} may seem to lock up for a while)
\par \fi0\li0 \bullet {\b IP/mask pairs list} - lets you enter ip address/netmask pairs to specify access list for this destination. If none are entered \endash all hosts activities are logged into selected destination.
\par \fi0\li0 \bullet {\b Facility/priority pattern} - may be set in two ways: either by selecting desired facility from the dropdown list and check appropriate priorities and repeat this procedure for every facility or by clicking '{\uldb edit logging pattern}{\v Pattern}' button and use the dialog box to edit logging pattern. If you have experience with logging you don't need any explanation about logging facilities/priorities what are they all about and why do you need them. If you don't, then you, probably, don't need {\b KLog}.
\par \fi0\li0 \bullet {\b Sound to play when triggered} - whenever event is logged using current destination {\b KLog} may produce the sound to make you aware of its activity. You can select any preset sound or specify your own wave file.
\par \fi0\li0 \bullet {\b Log window} - shows recent activity.\pard
\page
\pard\plain\keepn
#{\footnote Pattern}
${\footnote Edit Logging Pattern}
{ \f1\fs18\b\sb120 Edit Logging Pattern Dialog}
\par\sa120\sb120\qj\pard \f1\fs18\sb120 Use this tabbed dialog to edit your logging pattern. Logging facilities are separated into three tabs for your convenience. Use top/left rows of buttons to turn a whole bunch of priorities/facilities, bottom/right rows of buttons to toggle the whole column/row, or simply turn on/off individual facility/priority pairs.
\page
}
\ No newline at end of file diff --git a/help/klog.xml b/help/klog.xml index 830b297..08daf61 100644 --- a/help/klog.xml +++ b/help/klog.xml @@ -1,39 +1,42 @@ <?xml version="1.0"?>
<winhelp>
<topic id="About" title="About KLog">
<heading scroll="no">Abotu <kin>KLog</kin></heading>
<p><kin>KLog</kin> is our <term>Win32</term> implementation of <product>*nix</product> <term>syslog</term> daemon to support remote logging of messages from <product>unix</product> servers, routers, terminal servers and other syslog-enabled devices/applications.</p>
<p/>
<p><b><i>Enjoy!</i></b></p>
- <license years="1998-2004"/>
+ <license years="1998-2005"/>
<credits/>
</topic>
<topic id="News" title="What's New">
+ <newsfor version="1.1.1-trunk">
+ <ni>Added vertical resizability</ni>
+ </newsfor>
<newsfor version="1.1" date="July 11th, 2004">
<ni>Change of license and opening the source code</ni>
<ni>Minor changes in code, mostly bugfixes</ni>
</newsfor>
</topic>
<topic id="Using" title="Using KLog">
<heading scroll="no">Using <kin>KLog</kin></heading>
<p>When you start <kin>KLog</kin> for the first time it is set to the configuration in which it will silently catch all incoming messages and display them in the log window. Scroll length in initial configuration is set to 15 lines. To learn how to modify this initial configuration you may want to proceed to the <a href="#MainWindow">Main Window</a> section.</p>
</topic>
<topic id="MainWindow" title="Main Window">
<heading scroll="no">Main Window</heading>
<p>Essentially, main window is a tabbed collection of 'Destinations'. For each destination you can set the destination itself, events criteria and sound <kin>KLog</kin> will produce when triggered by event matching criteria.</p>
<p>Each tab consists of following fields:</p>
<ul>
<li><b>Short description</b> - short descriptive text appearing on the tab on top of window.</li>
<li><b>Log to File/Log to Host/Don't Log radio buttons</b> - let you specify where to forward the events matching criteria below.</li>
<li><b>File/Host name</b> - Either file name for logging or host name to forward syslog messages to. (note: host address lookups are performed by blocking call, so if you it takes time to resolve host from it's name <kin>Klog</kin> may seem to lock up for a while)</li>
<li><b>IP/mask pairs list</b> - lets you enter ip address/netmask pairs to specify access list for this destination. If none are entered \endash all hosts activities are logged into selected destination.</li>
<li><b>Facility/priority pattern</b> - may be set in two ways: either by selecting desired facility from the dropdown list and check appropriate priorities and repeat this procedure for every facility or by clicking '<a href="#Pattern">edit logging pattern</a>' button and use the dialog box to edit logging pattern. If you have experience with logging you don't need any explanation about logging facilities/priorities what are they all about and why do you need them. If you don't, then you, probably, don't need <kin>KLog</kin>.</li>
<li><b>Sound to play when triggered</b> - whenever event is logged using current destination <kin>KLog</kin> may produce the sound to make you aware of its activity. You can select any preset sound or specify your own wave file.</li>
<li><b>Log window</b> - shows recent activity.</li>
</ul>
</topic>
<topic id="Pattern" title="Edit Logging Pattern">
<heading scroll="no">Edit Logging Pattern Dialog</heading>
<p>Use this tabbed dialog to edit your logging pattern. Logging facilities are separated into three tabs for your convenience. Use top/left rows of buttons to turn a whole bunch of priorities/facilities, bottom/right rows of buttons to toggle the whole column/row, or simply turn on/off individual facility/priority pairs.</p>
</topic>
</winhelp>
diff --git a/install/install.cpp b/install/install.cpp index c0e0bb8..81d5a7e 100644 --- a/install/install.cpp +++ b/install/install.cpp @@ -1,70 +1,70 @@ #include "resource.h" #include "../shared-code/install.h" -#define KINAME "KLog 1.1"
+#define KINAME "KLog 1.1.1-trunk"
#define SKINAME "KLog"
BOOL Install(void) { STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group", SKINAME "Path");
STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath");
LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings");
STRING path = REQUESTPATH(" " KINAME,"\nEnter destination path:",qPath);
if(!path)
return NULL;
#ifdef K_ANNED
STRING sysDir(_MAX_PATH);
GetSystemDirectory(sysDir,_MAX_PATH);
INSTALLFILE("mfc42.dl_",sysDir,"mfc42.dll");
#endif
MAKE_PATH(path);
STRING shortPath = GET_SHORT_PATH(path);
if(!shortPath){
MessageBox(NULL,"Failed to install " KINAME " in specified directory",NULL,MB_ICONERROR|MB_OK);
return FALSE;
}
if(!(
INSTALLFILE(SKINAME ".ex_",path, SKINAME ".exe") &&
INSTALLFILE(SKINAME ".hl_",path, SKINAME ".hlp") &&
INSTALLFILE(SKINAME ".cn_",path, SKINAME ".cnt")
)){
MessageBox(NULL,"Failed to install " KINAME "in specified directory",NULL,MB_ICONERROR|MB_OK);
return FALSE;
}
ADDMENU("Klever Group",SKINAME,path,SKINAME ".exe");
strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",SKINAME "Path",path);
strSET_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath",path);
FILE* inf=CREATE_INF_FILE(path,SKINAME ".INF");
if(!inf){
MessageBox(NULL,"Failed to install " KINAME,NULL,MB_ICONERROR|MB_OK);
return FALSE;
}
INF_FILE_HEADER(inf);
INF_FILE_SECTION(inf,"Uninstall");
fprintf(inf,"AddReg=kFiles\nDelReg=kReg\nUpdateInis=kMenu\n");
INF_FILE_SECTION(inf,"kFiles");
INF_REMOVE_ROOT(inf,SKINAME "Files",shortPath);
INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".exe");
INF_REMOVE_HELP_FILE(inf,SKINAME "Files",SKINAME);
INF_REMOVE_FILE(inf,SKINAME "Files",SKINAME ".inf");
INF_FILE_SECTION(inf,"kReg");
INF_UNINSTALL_REG(inf,SKINAME);
INF_FILE_SECTION(inf,"kMenu");
INF_MENU_GROUP(inf,1,"Klever Group");
INF_MENU_ITEM(inf,1,SKINAME);
fclose(inf);
REG_UNINSTALL_COMMAND(SKINAME,"Klever " KINAME,shortPath,SKINAME ".INF","Uninstall");
MessageBox(NULL,KINAME " installed successfully, you may now run it from 'Programs/Klever Group' menu, move it to your Startup group or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK);
return TRUE;
} diff --git a/install/install.rc b/install/install.rc index 6a3fd3e..cee7f66 100644 --- a/install/install.rc +++ b/install/install.rc @@ -1,182 +1,182 @@ //Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
#if defined(APSTUDIO_INVOKED) || defined(FALSE)
#if defined(APSTUDIO_INVOKED)
IDD_INSTALLING$(FALSE) DIALOGEX 0, 0, 200, 74
#else
IDD_INSTALLING DIALOGEX 0, 0, 200, 74
#endif
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
PUSHBUTTON "Cancel",IDCANCEL,143,53,50,14,BS_CENTER | BS_VCENTER |
BS_NOTIFY | BS_FLAT,WS_EX_DLGMODALFRAME
CONTROL "Animate1",IDC_DISKS,"SysAnimate32",ACS_TRANSPARENT |
ACS_AUTOPLAY | WS_TABSTOP,161,7,32,32
LTEXT "",IDC_STATE,7,7,150,32,SS_NOPREFIX | SS_NOTIFY
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",0x0,7,45,
186,7,WS_EX_DLGMODALFRAME
END
#endif
IDD_PATH DIALOGEX 0, 0, 255, 73
STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER | WS_POPUP |
WS_VISIBLE | WS_CAPTION
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
LTEXT "",IDC_PROMPT,7,7,241,30
EDITTEXT IDC_PATH,7,37,195,12,ES_AUTOHSCROLL
PUSHBUTTON "B&rowse..",IDC_BROWSE,208,37,40,12
DEFPUSHBUTTON "OK",IDOK,69,52,50,14
PUSHBUTTON "Cancel",IDCANCEL,135,52,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
"IDD_INSTALLING$(FALSE)", DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 193
TOPMARGIN, 7
BOTTOMMARGIN, 67
HORZGUIDE, 39
END
IDD_PATH, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 248
VERTGUIDE, 202
VERTGUIDE, 208
TOPMARGIN, 7
BOTTOMMARGIN, 66
HORZGUIDE, 37
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""custom.rch""\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON ICON DISCARDABLE "../shared-data/install-icon.ico"
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,1,0,0
- PRODUCTVERSION 1,1,0,0
+ FILEVERSION 1,1,1,0
+ PRODUCTVERSION 1,1,1,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
VALUE "FileDescription", "INSTALL: KLog, logging daemon\0"
- VALUE "FileVersion", "1, 1, 0, 0\0"
+ VALUE "FileVersion", "1, 1, 1, 0\0"
VALUE "InternalName", "INSTALL\0"
- VALUE "LegalCopyright", "Copyright © 1998-2004 Klever Group (http://www.klever.net/)\0"
+ VALUE "LegalCopyright", "Copyright © 1998-2005 Klever Group (http://www.klever.net/)\0"
VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
VALUE "OriginalFilename", "INSTALL.EXE\0"
VALUE "ProductName", "KLog\0"
- VALUE "ProductVersion", "1, 1, 0, 0\0"
+ VALUE "ProductVersion", "1, 1, 1, 0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "custom.rch"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
@@ -1,235 +1,235 @@ ; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CKLogDlg
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "KLog.h"
ClassCount=9
Class1=CKLogApp
Class2=CKLogDlg
Class3=CAboutDlg
ResourceCount=7
Resource1=IDD_LOG_LOCAL
Resource2=IDR_MAINFRAME
Class4=CTrayer
Resource3=IDD_LOG_RESERVED
Resource4=IDD_WARNBLOCKING
Resource5=IDD_LOG_UNIX
Class5=CLogPattern
Class6=CLogPatternUnix
Class7=CLogPatternReserved
Class8=CLogPatternLocal
Resource6=IDD_ABOUTBOX
Class9=CWarnBlocking
Resource7=IDD_KLOG_DIALOG
[CLS:CKLogApp]
Type=0
HeaderFile=KLog.h
ImplementationFile=KLog.cpp
Filter=N
[CLS:CKLogDlg]
Type=0
HeaderFile=KLogDlg.h
ImplementationFile=KLogDlg.cpp
Filter=W
BaseClass=CDialog
VirtualFilter=dWC
-LastObject=IDC_HL_ADD
+LastObject=IDC_LOG
[CLS:CAboutDlg]
Type=0
HeaderFile=KLogDlg.h
ImplementationFile=KLogDlg.cpp
Filter=D
BaseClass=CDialog
VirtualFilter=dWC
LastObject=IDC_KLEVERNET
[DLG:IDD_ABOUTBOX]
Type=1
Class=CAboutDlg
ControlCount=5
Control1=IDC_STATIC,static,1342177283
Control2=IDC_STATIC,static,1342308480
Control3=IDC_STATIC,static,1342308352
Control4=IDOK,button,1342373889
Control5=IDC_KLEVERNET,button,1342242816
[DLG:IDD_KLOG_DIALOG]
Type=1
Class=CKLogDlg
ControlCount=48
Control1=IDC_STATIC,static,1342308609
Control2=IDC_DESC,edit,1350631552
Control3=IDC_TYPE_FILE,button,1342312457
Control4=IDC_TYPE_HOST,button,1342181385
Control5=IDC_TYPE_NONE,button,1342181385
Control6=IDC_HOSTORFILE,static,1342308353
Control7=IDC_HOSTFILE,edit,1350631552
Control8=IDC_BROWSE,button,1342242816
Control9=IDC_STATIC,static,1342177296
Control10=IDC_STATIC,static,1342308352
Control11=IDC_STATIC,static,1342177296
Control12=IDC_STATIC,static,1342308352
Control13=IDC_FACILITY,combobox,1344340035
Control14=IDC_LOGPATTERN,button,1342263104
Control15=IDC_STATIC,button,1342194439
Control16=IDC_EMERG,button,1342259747
Control17=IDC_ALERT,button,1342259747
Control18=IDC_CRIT,button,1342259747
Control19=IDC_ERR,button,1342259747
Control20=IDC_WARNING,button,1342259459
Control21=IDC_NOTICE,button,1342259459
Control22=IDC_INFO,button,1342259459
Control23=IDC_DEBUG,button,1342259459
Control24=IDC_ALL,button,1342242816
Control25=IDC_NONE,button,1342242816
Control26=IDC_INVERT,button,1342259200
Control27=IDC_STATIC,static,1342308608
Control28=IDC_HL_IP,edit,1350631552
Control29=IDC_STATIC,static,1342308608
Control30=IDC_HL_MASK,edit,1350631552
Control31=IDC_HL_ADD,button,1342259200
Control32=IDC_HL_REMOVE,button,1342242816
Control33=IDC_HOSTS,listbox,1345388929
Control34=IDC_STATIC,button,1342177287
Control35=IDC_SOUND,combobox,1344340034
Control36=IDC_BROWSESOUND,button,1342263104
Control37=IDC_PLAYSOUND,button,1342263104
Control38=IDC_LOG,listbox,1353793665
Control39=IDC_ADD,button,1342259200
Control40=IDC_REMOVE,button,1342242816
Control41=IDC_EXIT,button,1342242816
Control42=IDC_TABS,SysTabControl32,1342193664
Control43=IDC_LOGLENGTH,static,1342308737
Control44=IDC_LOGLENSPIN,msctls_updown32,1342177463
Control45=IDC_STATIC_LOGLENGTH,static,1342308737
Control46=IDOK,button,1073807361
Control47=IDCANCEL,button,1208025088
Control48=IDC_FILES,button,1342197504
[MNU:IDD_KLOG_DIALOG]
Type=1
Class=?
Command1=ID_FILES_EXPORT
Command2=ID_FILES_IMPORT
Command3=ID_FILES_RESET
Command4=ID_FILES_EXPORT
Command5=ID_FILES_IMPORT
Command6=ID_FILES_RESET
Command7=ID_TRAY_SHOWKLOGWINDOW
Command8=ID_TRAY_HELP
Command9=ID_TRAY_ABOUTKLOG
Command10=ID_TRAY_EXIT
CommandCount=10
[CLS:CTrayer]
Type=0
HeaderFile=Trayer.h
ImplementationFile=Trayer.cpp
BaseClass=generic CWnd
Filter=W
LastObject=ID_FILES_RESET
[DLG:IDD_LOG_RESERVED]
Type=1
Class=CLogPatternReserved
ControlCount=68
Control1=IDC_EMERG_ON,button,1342263040
Control2=IDC_ALERT_ON,button,1342263040
Control3=IDC_CRIT_ON,button,1342263040
Control4=IDC_ERR_ON,button,1342263040
Control5=IDC_WARN_ON,button,1342263040
Control6=IDC_NOTICE_ON,button,1342263040
Control7=IDC_INFO_ON,button,1342263040
Control8=IDC_DEBUG_ON,button,1342263040
Control9=IDC_R0_ON,button,1342263040
Control10=IDC_R1_ON,button,1342263040
Control11=IDC_R2_ON,button,1342263040
Control12=IDC_R3_ON,button,1342263040
Control13=IDC_R4_ON,button,1342263040
Control14=IDC_R0_EMERG,button,1342263299
Control15=IDC_R0_ALERT,button,1342263299
Control16=IDC_R0_CRIT,button,1342263299
Control17=IDC_R0_ERR,button,1342263299
Control18=IDC_R0_WARN,button,1342263299
Control19=IDC_R0_NOTICE,button,1342263299
Control20=IDC_R0_INFO,button,1342263299
Control21=IDC_R0_DEBUG,button,1342263299
Control22=IDC_R1_EMERG,button,1342263299
Control23=IDC_R1_ALERT,button,1342263299
Control24=IDC_R1_CRIT,button,1342263299
Control25=IDC_R1_ERR,button,1342263299
Control26=IDC_R1_WARN,button,1342263299
Control27=IDC_R1_NOTICE,button,1342263299
Control28=IDC_R1_INFO,button,1342263299
Control29=IDC_R1_DEBUG,button,1342263299
Control30=IDC_R2_EMERG,button,1342263299
Control31=IDC_R2_ALERT,button,1342263299
Control32=IDC_R2_CRIT,button,1342263299
Control33=IDC_R2_ERR,button,1342263299
Control34=IDC_R2_WARN,button,1342263299
Control35=IDC_R2_NOTICE,button,1342263299
Control36=IDC_R2_INFO,button,1342263299
Control37=IDC_R2_DEBUG,button,1342263299
Control38=IDC_R3_EMERG,button,1342263299
Control39=IDC_R3_ALERT,button,1342263299
Control40=IDC_R3_CRIT,button,1342263299
Control41=IDC_R3_ERR,button,1342263299
Control42=IDC_R3_WARN,button,1342263299
Control43=IDC_R3_NOTICE,button,1342263299
Control44=IDC_R3_INFO,button,1342263299
Control45=IDC_R3_DEBUG,button,1342263299
Control46=IDC_R4_EMERG,button,1342263299
Control47=IDC_R4_ALERT,button,1342263299
Control48=IDC_R4_CRIT,button,1342263299
Control49=IDC_R4_ERR,button,1342263299
Control50=IDC_R4_WARN,button,1342263299
Control51=IDC_R4_NOTICE,button,1342263299
Control52=IDC_R4_INFO,button,1342263299
Control53=IDC_R4_DEBUG,button,1342263299
Control54=IDC_EMERG_XOR,button,1342263040
Control55=IDC_ALERT_XOR,button,1342263040
Control56=IDC_CRIT_XOR,button,1342263040
Control57=IDC_ERR_XOR,button,1342263040
Control58=IDC_WARN_XOR,button,1342263040
Control59=IDC_NOTICE_XOR,button,1342263040
Control60=IDC_INFO_XOR,button,1342263040
Control61=IDC_DEBUG_XOR,button,1342263040
Control62=IDC_R0_XOR,button,1342263040
Control63=IDC_R1_XOR,button,1342263040
Control64=IDC_R2_XOR,button,1342263040
Control65=IDC_R3_XOR,button,1342263040
Control66=IDC_R4_XOR,button,1342263040
Control67=IDC_STATIC,static,1342308352
Control68=IDC_STATIC,static,1342308352
[DLG:IDD_LOG_UNIX]
Type=1
Class=CLogPatternUnix
ControlCount=128
Control1=IDC_EMERG_ON,button,1342263040
Control2=IDC_ALERT_ON,button,1342263040
Control3=IDC_CRIT_ON,button,1342263040
Control4=IDC_ERR_ON,button,1342263040
Control5=IDC_WARN_ON,button,1342263040
Control6=IDC_NOTICE_ON,button,1342263040
Control7=IDC_INFO_ON,button,1342263040
Control8=IDC_DEBUG_ON,button,1342263040
Control9=IDC_KERNEL_ON,button,1342263040
Control10=IDC_USER_ON,button,1342263040
Control11=IDC_MAIL_ON,button,1342263040
Control12=IDC_DAEMON_ON,button,1342263040
Control13=IDC_AUTH_ON,button,1342263040
Control14=IDC_SYSLOG_ON,button,1342263040
Control15=IDC_LPR_ON,button,1342263040
Control16=IDC_NEWS_ON,button,1342263040
Control17=IDC_UUCP_ON,button,1342263040
Control18=IDC_CRON_ON,button,1342263040
Control19=IDC_KERNEL_EMERG,button,1342263299
@@ -1,507 +1,507 @@ # Microsoft Developer Studio Generated NMAKE File, Format Version 4.20
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
!IF "$(CFG)" == ""
CFG=Install - Win32 Debug
!MESSAGE No configuration specified. Defaulting to Install - Win32 Debug.
!ENDIF
!IF "$(CFG)" != "KLog - Win32 Release" && "$(CFG)" != "KLog - Win32 Debug" &&\
"$(CFG)" != "KLog - Win32 Static Release" && "$(CFG)" !=\
"Install - Win32 Debug" && "$(CFG)" != "Install - Win32 Pure" && "$(CFG)" !=\
"Install - Win32 Canned" && "$(CFG)" != "Install - Win32 Static"
!MESSAGE Invalid configuration "$(CFG)" specified.
!MESSAGE You can specify a configuration when running NMAKE on this makefile
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "klog.mak" CFG="Install - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "KLog - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "KLog - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE "KLog - Win32 Static Release" (based on "Win32 (x86) Application")
!MESSAGE "Install - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE "Install - Win32 Pure" (based on "Win32 (x86) Application")
!MESSAGE "Install - Win32 Canned" (based on "Win32 (x86) Application")
!MESSAGE "Install - Win32 Static" (based on "Win32 (x86) Application")
!MESSAGE
!ERROR An invalid configuration is specified.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
################################################################################
# Begin Project
# PROP Target_Last_Scanned "Install - Win32 Static"
CPP=cl.exe
RSC=rc.exe
MTL=mktyplib.exe
!IF "$(CFG)" == "KLog - Win32 Release"
# PROP BASE Use_MFC 6
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 6
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
TargetName=klog
# End Custom Macros
ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.ex_" "$(OUTDIR)\klog.hlp"\
"$(OUTDIR)\klog.cnt" "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_"
CLEAN :
-@erase "$(INTDIR)\klog.cn_"
-@erase "$(INTDIR)\klog.cnt"
-@erase "$(INTDIR)\klog.hl_"
-@erase "$(INTDIR)\klog.hlp"
-@erase "$(INTDIR)\KLog.obj"
-@erase "$(INTDIR)\klog.pch"
- -@erase "$(INTDIR)\KLog.res"
+ -@erase "$(INTDIR)\klog.res"
-@erase "$(INTDIR)\KLogDlg.obj"
-@erase "$(INTDIR)\LogPattern.obj"
-@erase "$(INTDIR)\LogPatternLocal.obj"
-@erase "$(INTDIR)\LogPatternReserved.obj"
-@erase "$(INTDIR)\LogPatternUnix.obj"
-@erase "$(INTDIR)\StdAfx.obj"
-@erase "$(INTDIR)\SyslogSocket.obj"
-@erase "$(INTDIR)\Trayer.obj"
-@erase "$(INTDIR)\WarnBlocking.obj"
-@erase "$(OUTDIR)\klog.ex_"
-@erase "$(OUTDIR)\klog.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
# ADD CPP /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
CPP_PROJ=/nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
"_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/" /c
CPP_OBJS=.\Release/
CPP_SBRS=.\.
# ADD BASE MTL /nologo /D "NDEBUG" /win32
# ADD MTL /nologo /D "NDEBUG" /win32
MTL_PROJ=/nologo /D "NDEBUG" /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
-RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KLog.res" /d "NDEBUG" /d "_AFXDLL"
+RSC_PROJ=/l 0x409 /fo"$(INTDIR)/klog.res" /d "NDEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc"
BSC32_SBRS= \
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
# ADD LINK32 /nologo /subsystem:windows /machine:I386
LINK32_FLAGS=/nologo /subsystem:windows /incremental:no\
/pdb:"$(OUTDIR)/klog.pdb" /machine:I386 /out:"$(OUTDIR)/klog.exe"
LINK32_OBJS= \
"$(INTDIR)\KLog.obj" \
- "$(INTDIR)\KLog.res" \
+ "$(INTDIR)\klog.res" \
"$(INTDIR)\KLogDlg.obj" \
"$(INTDIR)\LogPattern.obj" \
"$(INTDIR)\LogPatternLocal.obj" \
"$(INTDIR)\LogPatternReserved.obj" \
"$(INTDIR)\LogPatternUnix.obj" \
"$(INTDIR)\StdAfx.obj" \
"$(INTDIR)\SyslogSocket.obj" \
"$(INTDIR)\Trayer.obj" \
"$(INTDIR)\WarnBlocking.obj"
"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
# Begin Custom Build
OutDir=.\Release
TargetName=klog
InputPath=.\Release\klog.exe
SOURCE=$(InputPath)
"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_
# End Custom Build
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
# PROP BASE Use_MFC 6
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 6
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
TargetName=klog
# End Custom Macros
ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.ex_" "$(OUTDIR)\klog.hlp"\
"$(OUTDIR)\klog.cnt" "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_"
CLEAN :
-@erase "$(INTDIR)\klog.cn_"
-@erase "$(INTDIR)\klog.cnt"
-@erase "$(INTDIR)\klog.hl_"
-@erase "$(INTDIR)\klog.hlp"
-@erase "$(INTDIR)\KLog.obj"
-@erase "$(INTDIR)\klog.pch"
- -@erase "$(INTDIR)\KLog.res"
+ -@erase "$(INTDIR)\klog.res"
-@erase "$(INTDIR)\KLogDlg.obj"
-@erase "$(INTDIR)\LogPattern.obj"
-@erase "$(INTDIR)\LogPatternLocal.obj"
-@erase "$(INTDIR)\LogPatternReserved.obj"
-@erase "$(INTDIR)\LogPatternUnix.obj"
-@erase "$(INTDIR)\StdAfx.obj"
-@erase "$(INTDIR)\SyslogSocket.obj"
-@erase "$(INTDIR)\Trayer.obj"
-@erase "$(INTDIR)\vc40.idb"
-@erase "$(INTDIR)\vc40.pdb"
-@erase "$(INTDIR)\WarnBlocking.obj"
-@erase "$(OUTDIR)\klog.ex_"
-@erase "$(OUTDIR)\klog.exe"
-@erase "$(OUTDIR)\klog.ilk"
-@erase "$(OUTDIR)\klog.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
/D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/"\
/Fd"$(INTDIR)/" /c
CPP_OBJS=.\Debug/
CPP_SBRS=.\.
# ADD BASE MTL /nologo /D "_DEBUG" /win32
# ADD MTL /nologo /D "_DEBUG" /win32
MTL_PROJ=/nologo /D "_DEBUG" /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
-RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KLog.res" /d "_DEBUG" /d "_AFXDLL"
+RSC_PROJ=/l 0x409 /fo"$(INTDIR)/klog.res" /d "_DEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc"
BSC32_SBRS= \
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386
# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386
LINK32_FLAGS=/nologo /subsystem:windows /incremental:yes\
/pdb:"$(OUTDIR)/klog.pdb" /debug /machine:I386 /out:"$(OUTDIR)/klog.exe"
LINK32_OBJS= \
"$(INTDIR)\KLog.obj" \
- "$(INTDIR)\KLog.res" \
+ "$(INTDIR)\klog.res" \
"$(INTDIR)\KLogDlg.obj" \
"$(INTDIR)\LogPattern.obj" \
"$(INTDIR)\LogPatternLocal.obj" \
"$(INTDIR)\LogPatternReserved.obj" \
"$(INTDIR)\LogPatternUnix.obj" \
"$(INTDIR)\StdAfx.obj" \
"$(INTDIR)\SyslogSocket.obj" \
"$(INTDIR)\Trayer.obj" \
"$(INTDIR)\WarnBlocking.obj"
"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
# Begin Custom Build
OutDir=.\Debug
TargetName=klog
InputPath=.\Debug\klog.exe
SOURCE=$(InputPath)
"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_
# End Custom Build
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
# PROP BASE Use_MFC 6
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "KLog___W"
# PROP BASE Intermediate_Dir "KLog___W"
# PROP BASE Target_Dir ""
# PROP Use_MFC 5
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Releast"
# PROP Intermediate_Dir "Releast"
# PROP Target_Dir ""
OUTDIR=.\Releast
INTDIR=.\Releast
# Begin Custom Macros
OutDir=.\Releast
TargetName=klog
# End Custom Macros
-ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.hlp" "$(OUTDIR)\klog.cnt"\
- "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_" "$(OUTDIR)\klog.ex_"
+ALL : "$(OUTDIR)\klog.exe" "$(OUTDIR)\klog.ex_" "$(OUTDIR)\klog.hlp"\
+ "$(OUTDIR)\klog.cnt" "$(OUTDIR)\klog.hl_" "$(OUTDIR)\klog.cn_"
CLEAN :
-@erase "$(INTDIR)\klog.cn_"
-@erase "$(INTDIR)\klog.cnt"
-@erase "$(INTDIR)\klog.hl_"
-@erase "$(INTDIR)\klog.hlp"
-@erase "$(INTDIR)\KLog.obj"
-@erase "$(INTDIR)\klog.pch"
- -@erase "$(INTDIR)\KLog.res"
+ -@erase "$(INTDIR)\klog.res"
-@erase "$(INTDIR)\KLogDlg.obj"
-@erase "$(INTDIR)\LogPattern.obj"
-@erase "$(INTDIR)\LogPatternLocal.obj"
-@erase "$(INTDIR)\LogPatternReserved.obj"
-@erase "$(INTDIR)\LogPatternUnix.obj"
-@erase "$(INTDIR)\StdAfx.obj"
-@erase "$(INTDIR)\SyslogSocket.obj"
-@erase "$(INTDIR)\Trayer.obj"
-@erase "$(INTDIR)\WarnBlocking.obj"
-@erase "$(OUTDIR)\klog.ex_"
-@erase "$(OUTDIR)\klog.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
# ADD BASE CPP /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /c
# ADD CPP /nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /Yu"stdafx.h" /c
CPP_PROJ=/nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
"_MBCS" /Fp"$(INTDIR)/klog.pch" /Yu"stdafx.h" /Fo"$(INTDIR)/" /c
CPP_OBJS=.\Releast/
CPP_SBRS=.\.
# ADD BASE MTL /nologo /D "NDEBUG" /win32
# ADD MTL /nologo /D "NDEBUG" /win32
MTL_PROJ=/nologo /D "NDEBUG" /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
# ADD RSC /l 0x409 /d "NDEBUG"
-RSC_PROJ=/l 0x409 /fo"$(INTDIR)/KLog.res" /d "NDEBUG"
+RSC_PROJ=/l 0x409 /fo"$(INTDIR)/klog.res" /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/klog.bsc"
BSC32_SBRS= \
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
# ADD LINK32 /nologo /subsystem:windows /machine:I386
LINK32_FLAGS=/nologo /subsystem:windows /incremental:no\
/pdb:"$(OUTDIR)/klog.pdb" /machine:I386 /out:"$(OUTDIR)/klog.exe"
LINK32_OBJS= \
"$(INTDIR)\KLog.obj" \
- "$(INTDIR)\KLog.res" \
+ "$(INTDIR)\klog.res" \
"$(INTDIR)\KLogDlg.obj" \
"$(INTDIR)\LogPattern.obj" \
"$(INTDIR)\LogPatternLocal.obj" \
"$(INTDIR)\LogPatternReserved.obj" \
"$(INTDIR)\LogPatternUnix.obj" \
"$(INTDIR)\StdAfx.obj" \
"$(INTDIR)\SyslogSocket.obj" \
"$(INTDIR)\Trayer.obj" \
"$(INTDIR)\WarnBlocking.obj"
"$(OUTDIR)\klog.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
# Begin Custom Build
OutDir=.\Releast
TargetName=klog
InputPath=.\Releast\klog.exe
SOURCE=$(InputPath)
"$(OutDir)\$(TargetName).ex_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
compress $(OutDir)\$(TargetName).exe $(OutDir)\$(TargetName).ex_
# End Custom Build
!ELSEIF "$(CFG)" == "Install - Win32 Debug"
# PROP BASE Use_MFC 2
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Install\Debug"
# PROP BASE Intermediate_Dir "Install\Debug"
# PROP BASE Target_Dir "Install"
# PROP Use_MFC 2
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Install\Debug"
# PROP Intermediate_Dir "Install\Debug"
# PROP Target_Dir "Install"
OUTDIR=.\Install\Debug
INTDIR=.\Install\Debug
ALL : "KLog - Win32 Debug" "$(OUTDIR)\Install.exe"
CLEAN :
-@erase "$(INTDIR)\install.obj"
-@erase "$(INTDIR)\Install.res"
-@erase "$(INTDIR)\vc40.idb"
-@erase "$(INTDIR)\vc40.pdb"
-@erase "$(OUTDIR)\Install.exe"
-@erase "$(OUTDIR)\Install.ilk"
-@erase "$(OUTDIR)\Install.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
/D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/Install.pch" /YX /Fo"$(INTDIR)/"\
/Fd"$(INTDIR)/" /c
CPP_OBJS=.\Install\Debug/
CPP_SBRS=.\.
# ADD BASE MTL /nologo /D "_DEBUG" /win32
# ADD MTL /nologo /D "_DEBUG" /win32
MTL_PROJ=/nologo /D "_DEBUG" /win32
# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
# ADD RSC /l 0x409 /d "_DEBUG" /d "_AFXDLL"
RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "_DEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc"
BSC32_SBRS= \
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /debug /machine:I386
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\
advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:yes\
/pdb:"$(OUTDIR)/Install.pdb" /debug /machine:I386 /out:"$(OUTDIR)/Install.exe"
LINK32_OBJS= \
"$(INTDIR)\install.obj" \
"$(INTDIR)\Install.res"
"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "Install - Win32 Pure"
# PROP BASE Use_MFC 2
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Install\Pure"
# PROP BASE Intermediate_Dir "Install\Pure"
# PROP BASE Target_Dir "Install"
# PROP Use_MFC 2
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Install\Pure"
# PROP Intermediate_Dir "Install\Pure"
# PROP Target_Dir "Install"
OUTDIR=.\Install\Pure
INTDIR=.\Install\Pure
ALL : "$(OUTDIR)\Install.exe"
CLEAN :
-@erase "$(INTDIR)\install.obj"
-@erase "$(INTDIR)\Install.res"
-@erase "$(OUTDIR)\Install.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
"_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/Install.pch" /YX /Fo"$(INTDIR)/" /c
CPP_OBJS=.\Install\Pure/
CPP_SBRS=.\.
# ADD BASE MTL /nologo /D "NDEBUG" /win32
# ADD MTL /nologo /D "NDEBUG" /win32
MTL_PROJ=/nologo /D "NDEBUG" /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "NDEBUG" /d "_AFXDLL"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc"
BSC32_SBRS= \
LINK32=link.exe
# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib shell32.lib version.lib advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /machine:I386
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib shell32.lib version.lib\
advapi32.lib uuid.lib ole32.lib /nologo /subsystem:windows /incremental:no\
/pdb:"$(OUTDIR)/Install.pdb" /machine:I386 /out:"$(OUTDIR)/Install.exe"
LINK32_OBJS= \
"$(INTDIR)\install.obj" \
"$(INTDIR)\Install.res"
"$(OUTDIR)\Install.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "Install - Win32 Canned"
# PROP BASE Use_MFC 2
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Install\Canned"
# PROP BASE Intermediate_Dir "Install\Canned"
# PROP BASE Target_Dir "Install"
# PROP Use_MFC 2
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Install\Canned"
# PROP Intermediate_Dir "Install\Canned"
# PROP Target_Dir "Install"
OUTDIR=.\Install\Canned
INTDIR=.\Install\Canned
ALL : "$(OUTDIR)\Install.exe"
CLEAN :
-@erase "$(INTDIR)\install.obj"
-@erase "$(INTDIR)\Install.res"
-@erase "$(OUTDIR)\Install.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /YX /c
# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /D "K_ANNED" /YX /c
CPP_PROJ=/nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
"_AFXDLL" /D "_MBCS" /D "K_ANNED" /Fp"$(INTDIR)/Install.pch" /YX\
/Fo"$(INTDIR)/" /c
CPP_OBJS=.\Install\Canned/
CPP_SBRS=.\.
# ADD BASE MTL /nologo /D "NDEBUG" /win32
# ADD MTL /nologo /D "NDEBUG" /win32
MTL_PROJ=/nologo /D "NDEBUG" /win32
# ADD BASE RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL"
# ADD RSC /l 0x409 /d "NDEBUG" /d "_AFXDLL" /d "K_ANNED"
RSC_PROJ=/l 0x409 /fo"$(INTDIR)/Install.res" /d "NDEBUG" /d "_AFXDLL" /d\
"K_ANNED"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
BSC32_FLAGS=/nologo /o"$(OUTDIR)/Install.bsc"
BSC32_SBRS= \
@@ -580,399 +580,399 @@ LINK32_OBJS= \ $(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
.c{$(CPP_OBJS)}.obj:
$(CPP) $(CPP_PROJ) $<
.cpp{$(CPP_OBJS)}.obj:
$(CPP) $(CPP_PROJ) $<
.cxx{$(CPP_OBJS)}.obj:
$(CPP) $(CPP_PROJ) $<
.c{$(CPP_SBRS)}.sbr:
$(CPP) $(CPP_PROJ) $<
.cpp{$(CPP_SBRS)}.sbr:
$(CPP) $(CPP_PROJ) $<
.cxx{$(CPP_SBRS)}.sbr:
$(CPP) $(CPP_PROJ) $<
################################################################################
# Begin Target
# Name "KLog - Win32 Release"
# Name "KLog - Win32 Debug"
# Name "KLog - Win32 Static Release"
!IF "$(CFG)" == "KLog - Win32 Release"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
!ENDIF
################################################################################
# Begin Source File
SOURCE=.\KLog.cpp
DEP_CPP_KLOG_=\
".\KLog.h"\
".\KLogDlg.h"\
".\stdafx.h"\
".\SyslogSocket.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
"$(INTDIR)\KLog.obj" : $(SOURCE) $(DEP_CPP_KLOG_) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\KLogDlg.cpp
DEP_CPP_KLOGD=\
".\KLog.h"\
".\KLogDlg.h"\
".\LogPattern.h"\
".\stdafx.h"\
".\SyslogSocket.h"\
".\Trayer.h"\
".\WarnBlocking.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
"$(INTDIR)\KLogDlg.obj" : $(SOURCE) $(DEP_CPP_KLOGD) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\StdAfx.cpp
DEP_CPP_STDAF=\
".\stdafx.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
# ADD CPP /Yc"stdafx.h"
BuildCmds= \
$(CPP) /nologo /MD /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D\
"_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/" /c\
$(SOURCE) \
"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
$(BuildCmds)
"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
$(BuildCmds)
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
# ADD CPP /Yc"stdafx.h"
BuildCmds= \
$(CPP) /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\
/D "_AFXDLL" /D "_MBCS" /Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/"\
/Fd"$(INTDIR)/" /c $(SOURCE) \
"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
$(BuildCmds)
"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
$(BuildCmds)
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
# ADD BASE CPP /Yc"stdafx.h"
# ADD CPP /Yc"stdafx.h"
BuildCmds= \
$(CPP) /nologo /MT /W3 /GX /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS"\
/Fp"$(INTDIR)/klog.pch" /Yc"stdafx.h" /Fo"$(INTDIR)/" /c $(SOURCE) \
"$(INTDIR)\StdAfx.obj" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
$(BuildCmds)
"$(INTDIR)\klog.pch" : $(SOURCE) $(DEP_CPP_STDAF) "$(INTDIR)"
$(BuildCmds)
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\klog.rc
DEP_RSC_KLOG_R=\
".\res\fear.wav"\
".\res\glass.wav"\
".\res\kick.wav"\
".\res\klog-icon.ico"\
".\res\klog-triggered-icon.ico"\
".\res\KLog.ico"\
".\res\klog.rc2"\
".\res\log-pattern.ico"\
".\res\meow.wav"\
".\shared-data\browse-icon.ico"\
".\shared-data\klever-background.bmp"\
".\shared-data\play-icon.ico"\
!IF "$(CFG)" == "KLog - Win32 Release"
-"$(INTDIR)\KLog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
+"$(INTDIR)\klog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
$(RSC) $(RSC_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
-"$(INTDIR)\KLog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
+"$(INTDIR)\klog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
$(RSC) $(RSC_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
-"$(INTDIR)\KLog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
+"$(INTDIR)\klog.res" : $(SOURCE) $(DEP_RSC_KLOG_R) "$(INTDIR)"
$(RSC) $(RSC_PROJ) $(SOURCE)
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\help\klog.hpj
!IF "$(CFG)" == "KLog - Win32 Release"
# Begin Custom Build - Making help file...
OutDir=.\Release
ProjDir=.
TargetName=klog
InputPath=.\help\klog.hpj
BuildCmds= \
"$(ProjDir)\makehelp.bat" \
compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \
compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \
"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
# Begin Custom Build - Making help file...
OutDir=.\Debug
ProjDir=.
TargetName=klog
InputPath=.\help\klog.hpj
BuildCmds= \
"$(ProjDir)\makehelp.bat" \
compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \
compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \
"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
# Begin Custom Build - Making help file...
OutDir=.\Releast
ProjDir=.
TargetName=klog
InputPath=.\help\klog.hpj
BuildCmds= \
"$(ProjDir)\makehelp.bat" \
compress $(OutDir)\$(TargetName).hlp $(OutDir)\$(TargetName).hl_ \
compress $(OutDir)\$(TargetName).cnt $(OutDir)\$(TargetName).cn_ \
"$(OutDir)\$(TargetName).hlp" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).cnt" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).hl_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
"$(OutDir)\$(TargetName).cn_" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(BuildCmds)
# End Custom Build
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\SyslogSocket.cpp
DEP_CPP_SYSLO=\
".\stdafx.h"\
".\SyslogSocket.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
"$(INTDIR)\SyslogSocket.obj" : $(SOURCE) $(DEP_CPP_SYSLO) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\Trayer.cpp
DEP_CPP_TRAYE=\
".\KLog.h"\
".\KLogDlg.h"\
".\stdafx.h"\
".\SyslogSocket.h"\
".\Trayer.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
"$(INTDIR)\Trayer.obj" : $(SOURCE) $(DEP_CPP_TRAYE) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\LogPattern.cpp
DEP_CPP_LOGPA=\
".\KLog.h"\
".\LogPattern.h"\
".\LogPatternLocal.h"\
".\LogPatternReserved.h"\
".\LogPatternUnix.h"\
".\stdafx.h"\
".\SyslogSocket.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
"$(INTDIR)\LogPattern.obj" : $(SOURCE) $(DEP_CPP_LOGPA) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\LogPattern.obj" : $(SOURCE) $(DEP_CPP_LOGPA) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
@@ -1006,249 +1006,246 @@ DEP_CPP_LOGPAT=\ !ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\LogPatternUnix.obj" : $(SOURCE) $(DEP_CPP_LOGPAT) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
"$(INTDIR)\LogPatternUnix.obj" : $(SOURCE) $(DEP_CPP_LOGPAT) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\LogPatternReserved.cpp
DEP_CPP_LOGPATT=\
".\KLog.h"\
".\LogPattern.h"\
".\LogPatternReserved.h"\
".\stdafx.h"\
".\SyslogSocket.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
"$(INTDIR)\LogPatternReserved.obj" : $(SOURCE) $(DEP_CPP_LOGPATT) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\LogPatternLocal.cpp
DEP_CPP_LOGPATTE=\
".\KLog.h"\
".\LogPattern.h"\
".\LogPatternLocal.h"\
".\stdafx.h"\
".\SyslogSocket.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
"$(INTDIR)\LogPatternLocal.obj" : $(SOURCE) $(DEP_CPP_LOGPATTE) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\WarnBlocking.cpp
DEP_CPP_WARNB=\
".\KLog.h"\
".\stdafx.h"\
".\WarnBlocking.h"\
!IF "$(CFG)" == "KLog - Win32 Release"
"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Debug"
"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ELSEIF "$(CFG)" == "KLog - Win32 Static Release"
"$(INTDIR)\WarnBlocking.obj" : $(SOURCE) $(DEP_CPP_WARNB) "$(INTDIR)"\
"$(INTDIR)\klog.pch"
!ENDIF
# End Source File
# End Target
################################################################################
# Begin Target
# Name "Install - Win32 Debug"
# Name "Install - Win32 Pure"
# Name "Install - Win32 Canned"
# Name "Install - Win32 Static"
!IF "$(CFG)" == "Install - Win32 Debug"
!ELSEIF "$(CFG)" == "Install - Win32 Pure"
!ELSEIF "$(CFG)" == "Install - Win32 Canned"
!ELSEIF "$(CFG)" == "Install - Win32 Static"
!ENDIF
################################################################################
# Begin Source File
SOURCE=.\Install\Install.rc
DEP_RSC_INSTA=\
".\Install\custom.rch"\
".\shared-data\install-icon.ico"\
!IF "$(CFG)" == "Install - Win32 Debug"
"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)"
$(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "_DEBUG" /d\
"_AFXDLL" $(SOURCE)
!ELSEIF "$(CFG)" == "Install - Win32 Pure"
"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)"
$(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\
"_AFXDLL" $(SOURCE)
!ELSEIF "$(CFG)" == "Install - Win32 Canned"
"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)"
$(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\
"_AFXDLL" /d "K_ANNED" $(SOURCE)
!ELSEIF "$(CFG)" == "Install - Win32 Static"
"$(INTDIR)\Install.res" : $(SOURCE) $(DEP_RSC_INSTA) "$(INTDIR)"
$(RSC) /l 0x409 /fo"$(INTDIR)/Install.res" /i "Install" /d "NDEBUG" /d\
"_AFXDLL" /d "STATI_K" $(SOURCE)
!ENDIF
# End Source File
################################################################################
# Begin Source File
SOURCE=.\Install\install.cpp
-DEP_CPP_INSTAL=\
- ".\shared-code\install.h"\
-
!IF "$(CFG)" == "Install - Win32 Debug"
-"$(INTDIR)\install.obj" : $(SOURCE) $(DEP_CPP_INSTAL) "$(INTDIR)"
+"$(INTDIR)\install.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "Install - Win32 Pure"
-"$(INTDIR)\install.obj" : $(SOURCE) $(DEP_CPP_INSTAL) "$(INTDIR)"
+"$(INTDIR)\install.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "Install - Win32 Canned"
-"$(INTDIR)\install.obj" : $(SOURCE) $(DEP_CPP_INSTAL) "$(INTDIR)"
+"$(INTDIR)\install.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ELSEIF "$(CFG)" == "Install - Win32 Static"
-"$(INTDIR)\install.obj" : $(SOURCE) $(DEP_CPP_INSTAL) "$(INTDIR)"
+"$(INTDIR)\install.obj" : $(SOURCE) "$(INTDIR)"
$(CPP) $(CPP_PROJ) $(SOURCE)
!ENDIF
# End Source File
################################################################################
# Begin Project Dependency
# Project_Dep_Name "KLog"
!IF "$(CFG)" == "Install - Win32 Debug"
"KLog - Win32 Debug" :
$(MAKE) /$(MAKEFLAGS) /F ".\klog.mak" CFG="KLog - Win32 Debug"
!ELSEIF "$(CFG)" == "Install - Win32 Pure"
!ELSEIF "$(CFG)" == "Install - Win32 Canned"
!ELSEIF "$(CFG)" == "Install - Win32 Static"
!ENDIF
# End Project Dependency
# End Target
# End Project
################################################################################
@@ -1,366 +1,366 @@ //Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
"#ifdef _WIN32\r\n"
"LANGUAGE 9, 1\r\n"
"#pragma code_page(1252)\r\n"
"#endif\r\n"
- "#include ""res\\KLog.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
+ "#include ""res\\klog.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"#endif\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON DISCARDABLE "res\\klog.ico"
IDI_BROWSE ICON DISCARDABLE "shared-data/browse-icon.ico"
IDI_PREPLAY ICON DISCARDABLE "shared-data/play-icon.ico"
IDI_KLOG ICON DISCARDABLE "res\\klog-icon.ico"
IDI_KLOG_TRIGGERED ICON DISCARDABLE "res\\klog-triggered-icon.ico"
IDI_LOGPATTERN ICON DISCARDABLE "res\\log-pattern.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 70
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About KLog"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,7,17,18,20
- LTEXT "KLog, Version 1.1",IDC_STATIC,40,16,119,8,
- SS_NOPREFIX
- LTEXT "Copyright © 1998-2004 Klever Group",IDC_STATIC,40,31,119,8
+ LTEXT "KLog, Version 1.1.1-trunk",IDC_STATIC,40,16,119,8,SS_NOPREFIX
+ LTEXT "Copyright © 1998-2005 Klever Group",IDC_STATIC,40,31,
+ 119,8
DEFPUSHBUTTON "OK",IDOK,178,13,32,14,WS_GROUP
PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,125,49,85,14
END
-IDD_KLOG_DIALOG DIALOGEX 0, 0, 291, 286
-STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+IDD_KLOG_DIALOG DIALOGEX 0, 0, 293, 286
+STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | WS_EX_APPWINDOW
CAPTION "KLog"
-FONT 8, "MS Sans Serif", 0, 0, 0x1
+FONT 8, "MS Sans Serif"
BEGIN
CTEXT "Short de&scription:",IDC_STATIC,11,48,78,8,SS_NOTIFY
EDITTEXT IDC_DESC,91,46,187,13,ES_AUTOHSCROLL,WS_EX_STATICEDGE
CONTROL "Log to &File",IDC_TYPE_FILE,"Button",BS_AUTORADIOBUTTON |
BS_PUSHLIKE | WS_GROUP,11,60,87,19,WS_EX_STATICEDGE
CONTROL "Log to &Host",IDC_TYPE_HOST,"Button",BS_AUTORADIOBUTTON |
BS_PUSHLIKE,101,60,87,19,WS_EX_STATICEDGE
CONTROL "&Don't Log",IDC_TYPE_NONE,"Button",BS_AUTORADIOBUTTON |
BS_PUSHLIKE,191,60,87,19,WS_EX_STATICEDGE
CTEXT "File &name:",IDC_HOSTORFILE,12,84,40,8
EDITTEXT IDC_HOSTFILE,56,82,201,12,ES_AUTOHSCROLL
PUSHBUTTON "...",IDC_BROWSE,262,82,17,13,0,WS_EX_STATICEDGE
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,12,99,13,1
LTEXT "Log data:",IDC_STATIC,27,95,31,8
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,60,99,218,1
LTEXT "Fa&cility:",IDC_STATIC,19,108,27,8
COMBOBOX IDC_FACILITY,48,106,85,104,CBS_DROPDOWNLIST |
CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "[::]",IDC_LOGPATTERN,136,106,23,12,BS_ICON | BS_CENTER |
BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE
GROUPBOX " &Priorities: ",IDC_STATIC,162,100,92,53,BS_CENTER |
BS_NOTIFY,WS_EX_TRANSPARENT
CONTROL "emerg",IDC_EMERG,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,110,36,10
CONTROL "alert",IDC_ALERT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,120,36,10
CONTROL "crit",IDC_CRIT,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,130,36,10
CONTROL "err",IDC_ERR,"Button",BS_AUTOCHECKBOX | BS_LEFTTEXT |
BS_RIGHT | BS_NOTIFY | WS_TABSTOP,169,140,36,10
CONTROL "warn",IDC_WARNING,"Button",BS_AUTOCHECKBOX | BS_LEFT |
BS_NOTIFY | WS_TABSTOP,209,110,36,10
CONTROL "notice",IDC_NOTICE,"Button",BS_AUTOCHECKBOX | BS_LEFT |
BS_NOTIFY | WS_TABSTOP,209,120,36,10
CONTROL "info",IDC_INFO,"Button",BS_AUTOCHECKBOX | BS_LEFT |
BS_NOTIFY | WS_TABSTOP,209,130,36,10
CONTROL "debug",IDC_DEBUG,"Button",BS_AUTOCHECKBOX | BS_LEFT |
BS_NOTIFY | WS_TABSTOP,209,140,36,10
PUSHBUTTON "all",IDC_ALL,256,105,23,12,0,WS_EX_STATICEDGE
PUSHBUTTON "none",IDC_NONE,256,119,23,12,0,WS_EX_STATICEDGE
PUSHBUTTON "invert",IDC_INVERT,256,132,23,14,BS_NOTIFY,
WS_EX_STATICEDGE
LTEXT "IP:",IDC_STATIC,20,126,10,8,SS_NOTIFY
EDITTEXT IDC_HL_IP,43,124,65,13,ES_AUTOHSCROLL
LTEXT "mask:",IDC_STATIC,20,140,20,8,SS_NOTIFY
EDITTEXT IDC_HL_MASK,43,139,65,13,ES_AUTOHSCROLL
PUSHBUTTON "add",IDC_HL_ADD,111,124,30,12,BS_NOTIFY,
WS_EX_STATICEDGE
PUSHBUTTON "remove",IDC_HL_REMOVE,111,140,30,12,0,WS_EX_STATICEDGE
LISTBOX IDC_HOSTS,12,154,140,33,LBS_USETABSTOPS |
LBS_NOINTEGRALHEIGHT | NOT WS_BORDER | WS_VSCROLL |
WS_HSCROLL | WS_TABSTOP,WS_EX_CLIENTEDGE
GROUPBOX "When &triggered play:",IDC_STATIC,161,154,117,33,0,
WS_EX_TRANSPARENT
COMBOBOX IDC_SOUND,170,167,92,66,CBS_DROPDOWN | CBS_AUTOHSCROLL |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "..",IDC_BROWSESOUND,264,160,12,12,BS_ICON | BS_CENTER |
BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE
PUSHBUTTON "..",IDC_PLAYSOUND,264,173,12,12,BS_ICON | BS_CENTER |
BS_VCENTER | BS_NOTIFY,WS_EX_STATICEDGE
- LISTBOX IDC_LOG,7,192,277,87,LBS_USETABSTOPS | LBS_NOSEL |
+ LISTBOX IDC_LOG,7,192,279,87,LBS_USETABSTOPS | LBS_NOSEL |
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP,WS_EX_DLGMODALFRAME |
WS_EX_CLIENTEDGE | WS_EX_STATICEDGE
PUSHBUTTON "&Add",IDC_ADD,7,7,39,18,BS_NOTIFY,WS_EX_CLIENTEDGE
PUSHBUTTON "&Remove",IDC_REMOVE,48,7,39,18,0,WS_EX_CLIENTEDGE
- PUSHBUTTON "E&xit",IDC_EXIT,245,7,39,18,0,WS_EX_CLIENTEDGE
- CONTROL "Tab1",IDC_TABS,"SysTabControl32",TCS_TOOLTIPS,7,31,277,
+ PUSHBUTTON "E&xit",IDC_EXIT,247,7,39,18,0,WS_EX_CLIENTEDGE
+ CONTROL "Tab1",IDC_TABS,"SysTabControl32",TCS_TOOLTIPS,7,31,279,
161,WS_EX_CLIENTEDGE
CTEXT "10",IDC_LOGLENGTH,166,11,33,12,SS_NOPREFIX | SS_NOTIFY,
WS_EX_DLGMODALFRAME
CONTROL "Spin4",IDC_LOGLENSPIN,"msctls_updown32",UDS_WRAP |
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS,189,11,10,12
CTEXT "Log window length:",IDC_STATIC_LOGLENGTH,89,11,77,12,
SS_NOPREFIX | SS_NOTIFY,WS_EX_DLGMODALFRAME
DEFPUSHBUTTON "",IDOK,0,279,6,7,NOT WS_VISIBLE
- PUSHBUTTON "",IDCANCEL,285,279,6,7,NOT WS_VISIBLE | WS_DISABLED
+ PUSHBUTTON "",IDCANCEL,286,279,6,7,NOT WS_VISIBLE | WS_DISABLED
PUSHBUTTON "Files",IDC_FILES,204,7,39,18,BS_CENTER | BS_VCENTER |
BS_NOTIFY | NOT WS_TABSTOP,WS_EX_CLIENTEDGE
END
IDD_LOG_UNIX DIALOG DISCARDABLE 0, 0, 394, 143
STYLE DS_3DLOOK | WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Unix"
FONT 8, "MS Sans Serif"
BEGIN
PUSHBUTTON "emerg",IDC_EMERG_ON,7,20,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "alert",IDC_ALERT_ON,7,33,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "crit",IDC_CRIT_ON,7,46,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "err",IDC_ERR_ON,7,59,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "warn",IDC_WARN_ON,7,72,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "notice",IDC_NOTICE_ON,7,85,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "info",IDC_INFO_ON,7,98,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "debug",IDC_DEBUG_ON,7,111,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "kernel",IDC_KERNEL_ON,32,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "user",IDC_USER_ON,62,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "mail",IDC_MAIL_ON,92,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "daemon",IDC_DAEMON_ON,122,7,30,13,BS_CENTER |
BS_VCENTER | BS_NOTIFY
PUSHBUTTON "auth",IDC_AUTH_ON,152,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "syslog",IDC_SYSLOG_ON,182,7,30,13,BS_CENTER |
BS_VCENTER | BS_NOTIFY
PUSHBUTTON "lpr",IDC_LPR_ON,212,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "news",IDC_NEWS_ON,242,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "uucp",IDC_UUCP_ON,272,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "cron",IDC_CRON_ON,302,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
CONTROL "",IDC_KERNEL_EMERG,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,21,16,10
CONTROL "",IDC_KERNEL_ALERT,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,34,16,10
CONTROL "",IDC_KERNEL_CRIT,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,47,16,10
CONTROL "",IDC_KERNEL_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,39,60,16,10
CONTROL "",IDC_KERNEL_WARN,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,73,16,10
CONTROL "",IDC_KERNEL_NOTICE,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,86,16,10
CONTROL "",IDC_KERNEL_INFO,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,99,16,10
CONTROL "",IDC_KERNEL_DEBUG,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,39,112,16,10
CONTROL "",IDC_USER_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,69,21,16,10
CONTROL "",IDC_USER_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,69,34,16,10
CONTROL "",IDC_USER_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,69,47,16,10
CONTROL "",IDC_USER_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,69,60,16,10
CONTROL "",IDC_USER_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,69,73,16,10
CONTROL "",IDC_USER_NOTICE,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,69,86,16,10
CONTROL "",IDC_USER_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,69,99,16,10
CONTROL "",IDC_USER_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,69,112,16,10
CONTROL "",IDC_MAIL_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,99,21,16,10
CONTROL "",IDC_MAIL_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,99,34,16,10
CONTROL "",IDC_MAIL_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,99,47,16,10
CONTROL "",IDC_MAIL_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,99,60,16,10
CONTROL "",IDC_MAIL_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,99,73,16,10
CONTROL "",IDC_MAIL_NOTICE,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,99,86,16,10
CONTROL "",IDC_MAIL_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,99,99,16,10
CONTROL "",IDC_MAIL_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,99,112,16,10
CONTROL "",IDC_DAEMON_EMERG,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,21,16,10
CONTROL "",IDC_DAEMON_ALERT,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,34,16,10
CONTROL "",IDC_DAEMON_CRIT,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,47,16,10
CONTROL "",IDC_DAEMON_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,129,60,16,10
CONTROL "",IDC_DAEMON_WARN,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,73,16,10
CONTROL "",IDC_DAEMON_NOTICE,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,86,16,10
CONTROL "",IDC_DAEMON_INFO,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,99,16,10
CONTROL "",IDC_DAEMON_DEBUG,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,129,112,16,10
CONTROL "",IDC_AUTH_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,159,21,16,10
CONTROL "",IDC_AUTH_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,159,34,16,10
CONTROL "",IDC_AUTH_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,159,47,16,10
CONTROL "",IDC_AUTH_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,159,60,16,10
CONTROL "",IDC_AUTH_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,159,73,16,10
CONTROL "",IDC_AUTH_NOTICE,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,159,86,16,10
CONTROL "",IDC_AUTH_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,159,99,16,10
CONTROL "",IDC_AUTH_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,159,112,16,10
CONTROL "",IDC_SYSLOG_EMERG,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,21,16,10
CONTROL "",IDC_SYSLOG_ALERT,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,34,16,10
CONTROL "",IDC_SYSLOG_CRIT,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,47,16,10
CONTROL "",IDC_SYSLOG_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,189,60,16,10
CONTROL "",IDC_SYSLOG_WARN,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,73,16,10
CONTROL "",IDC_SYSLOG_NOTICE,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,86,16,10
CONTROL "",IDC_SYSLOG_INFO,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,99,16,10
CONTROL "",IDC_SYSLOG_DEBUG,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,189,112,16,10
CONTROL "",IDC_LPR_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,219,21,16,10
CONTROL "",IDC_LPR_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,219,34,16,10
CONTROL "",IDC_LPR_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,219,47,16,10
CONTROL "",IDC_LPR_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,219,60,16,10
CONTROL "",IDC_LPR_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,219,73,16,10
CONTROL "",IDC_LPR_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,219,86,16,10
CONTROL "",IDC_LPR_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,219,99,16,10
CONTROL "",IDC_LPR_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,219,112,16,10
CONTROL "",IDC_NEWS_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,249,21,16,10
CONTROL "",IDC_NEWS_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,249,34,16,10
CONTROL "",IDC_NEWS_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,249,47,16,10
CONTROL "",IDC_NEWS_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,249,60,16,10
CONTROL "",IDC_NEWS_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,249,73,16,10
CONTROL "",IDC_NEWS_NOTICE,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,249,86,16,10
CONTROL "",IDC_NEWS_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,249,99,16,10
CONTROL "",IDC_NEWS_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,249,112,16,10
CONTROL "",IDC_UUCP_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,279,21,16,10
CONTROL "",IDC_UUCP_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,279,34,16,10
CONTROL "",IDC_UUCP_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,279,47,16,10
CONTROL "",IDC_UUCP_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,279,60,16,10
CONTROL "",IDC_UUCP_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,279,73,16,10
CONTROL "",IDC_UUCP_NOTICE,"Button",BS_AUTOCHECKBOX |
BS_PUSHLIKE | BS_NOTIFY | WS_TABSTOP,279,86,16,10
CONTROL "",IDC_UUCP_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,279,99,16,10
CONTROL "",IDC_UUCP_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,279,112,16,10
CONTROL "",IDC_CRON_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,309,21,16,10
CONTROL "",IDC_CRON_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
@@ -615,440 +615,440 @@ BEGIN BS_NOTIFY
PUSHBUTTON "7",IDC_L7_ON,286,7,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
CONTROL "",IDC_L0_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,83,21,16,10
CONTROL "",IDC_L0_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,83,34,16,10
CONTROL "",IDC_L0_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,83,47,16,10
CONTROL "",IDC_L0_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,83,60,16,10
CONTROL "",IDC_L0_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,83,73,16,10
CONTROL "",IDC_L0_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,83,86,16,10
CONTROL "",IDC_L0_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,83,99,16,10
CONTROL "",IDC_L0_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,83,112,16,10
CONTROL "",IDC_L1_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,113,21,16,10
CONTROL "",IDC_L1_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,113,34,16,10
CONTROL "",IDC_L1_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,113,47,16,10
CONTROL "",IDC_L1_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,113,60,16,10
CONTROL "",IDC_L1_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,113,73,16,10
CONTROL "",IDC_L1_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,113,86,16,10
CONTROL "",IDC_L1_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,113,99,16,10
CONTROL "",IDC_L1_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,113,112,16,10
CONTROL "",IDC_L2_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,143,21,16,10
CONTROL "",IDC_L2_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,143,34,16,10
CONTROL "",IDC_L2_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,143,47,16,10
CONTROL "",IDC_L2_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,143,60,16,10
CONTROL "",IDC_L2_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,143,73,16,10
CONTROL "",IDC_L2_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,143,86,16,10
CONTROL "",IDC_L2_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,143,99,16,10
CONTROL "",IDC_L2_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,143,112,16,10
CONTROL "",IDC_L3_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,173,21,16,10
CONTROL "",IDC_L3_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,173,34,16,10
CONTROL "",IDC_L3_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,173,47,16,10
CONTROL "",IDC_L3_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,173,60,16,10
CONTROL "",IDC_L3_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,173,73,16,10
CONTROL "",IDC_L3_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,173,86,16,10
CONTROL "",IDC_L3_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,173,99,16,10
CONTROL "",IDC_L3_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,173,112,16,10
CONTROL "",IDC_L4_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,203,21,16,10
CONTROL "",IDC_L4_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,203,34,16,10
CONTROL "",IDC_L4_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,203,47,16,10
CONTROL "",IDC_L4_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,203,60,16,10
CONTROL "",IDC_L4_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,203,73,16,10
CONTROL "",IDC_L4_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,203,86,16,10
CONTROL "",IDC_L4_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,203,99,16,10
CONTROL "",IDC_L4_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,203,112,16,10
CONTROL "",IDC_L5_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,233,21,16,10
CONTROL "",IDC_L5_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,233,34,16,10
CONTROL "",IDC_L5_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,233,47,16,10
CONTROL "",IDC_L5_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,233,60,16,10
CONTROL "",IDC_L5_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,233,73,16,10
CONTROL "",IDC_L5_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,233,86,16,10
CONTROL "",IDC_L5_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,233,99,16,10
CONTROL "",IDC_L5_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,233,112,16,10
CONTROL "",IDC_L6_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,263,21,16,10
CONTROL "",IDC_L6_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,263,34,16,10
CONTROL "",IDC_L6_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,263,47,16,10
CONTROL "",IDC_L6_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,263,60,16,10
CONTROL "",IDC_L6_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,263,73,16,10
CONTROL "",IDC_L6_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,263,86,16,10
CONTROL "",IDC_L6_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,263,99,16,10
CONTROL "",IDC_L6_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,263,112,16,10
CONTROL "",IDC_L7_EMERG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,293,21,16,10
CONTROL "",IDC_L7_ALERT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,293,34,16,10
CONTROL "",IDC_L7_CRIT,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,293,47,16,10
CONTROL "",IDC_L7_ERR,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,293,60,16,10
CONTROL "",IDC_L7_WARN,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,293,73,16,10
CONTROL "",IDC_L7_NOTICE,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,293,86,16,10
CONTROL "",IDC_L7_INFO,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,293,99,16,10
CONTROL "",IDC_L7_DEBUG,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE |
BS_NOTIFY | WS_TABSTOP,293,112,16,10
PUSHBUTTON "emerg",IDC_EMERG_XOR,316,20,25,13,BS_CENTER |
BS_VCENTER | BS_NOTIFY
PUSHBUTTON "alert",IDC_ALERT_XOR,316,33,25,13,BS_CENTER |
BS_VCENTER | BS_NOTIFY
PUSHBUTTON "crit",IDC_CRIT_XOR,316,46,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "err",IDC_ERR_XOR,316,59,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "warn",IDC_WARN_XOR,316,72,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "notice",IDC_NOTICE_XOR,316,85,25,13,BS_CENTER |
BS_VCENTER | BS_NOTIFY
PUSHBUTTON "info",IDC_INFO_XOR,316,98,25,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "debug",IDC_DEBUG_XOR,316,111,25,13,BS_CENTER |
BS_VCENTER | BS_NOTIFY
PUSHBUTTON "0",IDC_L0_XOR,76,124,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "1",IDC_L1_XOR,106,124,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "2",IDC_L2_XOR,136,124,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "3",IDC_L3_XOR,166,124,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "4",IDC_L4_XOR,196,124,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "5",IDC_L5_XOR,226,124,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "6",IDC_L6_XOR,256,124,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
PUSHBUTTON "7",IDC_L7_XOR,286,124,30,13,BS_CENTER | BS_VCENTER |
BS_NOTIFY
LTEXT "Toggle",IDC_STATIC,317,126,23,8
LTEXT "ON",IDC_STATIC,58,9,12,8
END
IDD_WARNBLOCKING DIALOGEX 0, 0, 195, 88
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE
CAPTION " Blocking call warning"
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,39,67,50,14
PUSHBUTTON "Cancel",IDCANCEL,105,67,50,14
LTEXT "WARNING: ",IDC_STATIC,7,7,38,8
LTEXT "All host address lookups are performed in a blocking mode, so KLog may temporarily stop responding until host address is resolved or operation failed.",
IDC_STATIC,46,7,142,35
CONTROL "Enough is said, no need to remind me again. Thanks.",
IDC_WARNBLOCKING,"Button",BS_AUTOCHECKBOX | BS_RIGHT |
BS_VCENTER | BS_MULTILINE | WS_TABSTOP,7,42,123,22,
WS_EX_STATICEDGE
END
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
- FILEVERSION 1,1,0,0
+ FILEVERSION 1,1,1,0
PRODUCTVERSION 1,1,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Klever Group (http://www.klever.net/)\0"
VALUE "FileDescription", "KLog, logging daemon\0"
- VALUE "FileVersion", "1, 1, 0, 0\0"
+ VALUE "FileVersion", "1, 1, 1, 0\0"
VALUE "InternalName", "KLOG\0"
- VALUE "LegalCopyright", "Copyright © 1998-2004 Klever Group (http://www.klever.net/)\0"
+ VALUE "LegalCopyright", "Copyright © 1998-2005 Klever Group (http://www.klever.net/)\0"
VALUE "LegalTrademarks", "Klever Group (http://www.klever.net/)\0"
VALUE "OriginalFilename", "KLOG.EXE\0"
VALUE "ProductName", "KLog\0"
- VALUE "ProductVersion", "1, 0, 0, 2\0"
+ VALUE "ProductVersion", "1, 1, 1, 0\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 210
TOPMARGIN, 7
BOTTOMMARGIN, 63
END
IDD_KLOG_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
- RIGHTMARGIN, 284
+ RIGHTMARGIN, 286
VERTGUIDE, 12
VERTGUIDE, 278
TOPMARGIN, 7
BOTTOMMARGIN, 279
HORZGUIDE, 31
HORZGUIDE, 192
END
IDD_LOG_UNIX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 387
VERTGUIDE, 32
VERTGUIDE, 362
TOPMARGIN, 7
BOTTOMMARGIN, 136
HORZGUIDE, 20
HORZGUIDE, 124
END
IDD_LOG_RESERVED, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 387
VERTGUIDE, 96
VERTGUIDE, 121
VERTGUIDE, 271
VERTGUIDE, 296
TOPMARGIN, 7
BOTTOMMARGIN, 136
HORZGUIDE, 20
HORZGUIDE, 124
END
IDD_LOG_LOCAL, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 387
VERTGUIDE, 51
VERTGUIDE, 76
VERTGUIDE, 316
VERTGUIDE, 341
TOPMARGIN, 7
BOTTOMMARGIN, 136
HORZGUIDE, 20
HORZGUIDE, 124
END
IDD_WARNBLOCKING, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 188
VERTGUIDE, 130
TOPMARGIN, 7
BOTTOMMARGIN, 81
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_KLOG_DIALOG DLGINIT
BEGIN
IDC_FACILITY, 0x403, 7, 0
0x656b, 0x6e72, 0x6c65, "\000"
IDC_FACILITY, 0x403, 5, 0
0x7375, 0x7265, "\000"
IDC_FACILITY, 0x403, 5, 0
0x616d, 0x6c69, "\000"
IDC_FACILITY, 0x403, 7, 0
0x6164, 0x6d65, 0x6e6f, "\000"
IDC_FACILITY, 0x403, 5, 0
0x7561, 0x6874, "\000"
IDC_FACILITY, 0x403, 7, 0
0x7973, 0x6c73, 0x676f, "\000"
IDC_FACILITY, 0x403, 4, 0
0x706c, 0x0072,
IDC_FACILITY, 0x403, 5, 0
0x656e, 0x7377, "\000"
IDC_FACILITY, 0x403, 5, 0
0x7575, 0x7063, "\000"
IDC_FACILITY, 0x403, 5, 0
0x7263, 0x6e6f, "\000"
IDC_FACILITY, 0x403, 9, 0
0x7561, 0x6874, 0x7270, 0x7669, "\000"
IDC_FACILITY, 0x403, 10, 0
0x6572, 0x6573, 0x7672, 0x6465, 0x0030,
IDC_FACILITY, 0x403, 10, 0
0x6572, 0x6573, 0x7672, 0x6465, 0x0031,
IDC_FACILITY, 0x403, 10, 0
0x6572, 0x6573, 0x7672, 0x6465, 0x0032,
IDC_FACILITY, 0x403, 10, 0
0x6572, 0x6573, 0x7672, 0x6465, 0x0033,
IDC_FACILITY, 0x403, 10, 0
0x6572, 0x6573, 0x7672, 0x6465, 0x0034,
IDC_FACILITY, 0x403, 7, 0
0x6f6c, 0x6163, 0x306c, "\000"
IDC_FACILITY, 0x403, 7, 0
0x6f6c, 0x6163, 0x316c, "\000"
IDC_FACILITY, 0x403, 7, 0
0x6f6c, 0x6163, 0x326c, "\000"
IDC_FACILITY, 0x403, 7, 0
0x6f6c, 0x6163, 0x336c, "\000"
IDC_FACILITY, 0x403, 7, 0
0x6f6c, 0x6163, 0x346c, "\000"
IDC_FACILITY, 0x403, 7, 0
0x6f6c, 0x6163, 0x356c, "\000"
IDC_FACILITY, 0x403, 7, 0
0x6f6c, 0x6163, 0x366c, "\000"
IDC_FACILITY, 0x403, 7, 0
0x6f6c, 0x6163, 0x376c, "\000"
IDC_SOUND, 0x403, 7, 0
0x6d28, 0x6f65, 0x2977, "\000"
IDC_SOUND, 0x403, 8, 0
0x6728, 0x616c, 0x7373, 0x0029,
IDC_SOUND, 0x403, 7, 0
0x6628, 0x6165, 0x2972, "\000"
IDC_SOUND, 0x403, 7, 0
0x6b28, 0x6369, 0x296b, "\000"
0
END
/////////////////////////////////////////////////////////////////////////////
//
// WAVE
//
IDW_SOUND_MEOW WAVE DISCARDABLE "res\\meow.wav"
IDW_SOUND_GLASS WAVE DISCARDABLE "res\\glass.wav"
IDW_SOUND_FEAR WAVE DISCARDABLE "res\\fear.wav"
IDW_SOUND_KICK WAVE DISCARDABLE "res\\kick.wav"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_BACKGROUND BITMAP DISCARDABLE "shared-data/klever-background.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDD_KLOG_DIALOG MENU DISCARDABLE
BEGIN
POPUP "Files"
BEGIN
MENUITEM "&Export", ID_FILES_EXPORT
MENUITEM "&Import", ID_FILES_IMPORT
MENUITEM SEPARATOR
MENUITEM "&Reset", ID_FILES_RESET
END
POPUP "Tray"
BEGIN
MENUITEM "&Export settings", ID_FILES_EXPORT
MENUITEM "&Import settings", ID_FILES_IMPORT
MENUITEM "&Reset configuration", ID_FILES_RESET
MENUITEM SEPARATOR
MENUITEM "&Show KLog Window", ID_TRAY_SHOWKLOGWINDOW
MENUITEM SEPARATOR
MENUITEM "&Help", ID_TRAY_HELP
MENUITEM "&About KLog", ID_TRAY_ABOUTKLOG
MENUITEM "E&xit", ID_TRAY_EXIT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_ABOUTBOX "&About KLog..."
IDS_LOGTO_HOST "Host &name:"
IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed."
IDS_LOGTO_FILE "File &name:"
IDS_SOUND_MEOW "(meow)"
IDS_SOUND_GLASS "(glass)"
IDS_SOUND_FEAR "(fear)"
IDS_SOUND_KICK "(kick)"
IDS_WAVFILTER "Wave files (*.wav)|*.wav|All files (*.*)|*.*|"
IDS_SOUND_SELECT "Select sound"
IDS_LOGFILTER "Log files (*.log)|*.log|All files (*.*)|*.*|"
END
@@ -1,195 +1,195 @@ //{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
-// Used by KLog.rc
+// Used by klog.rc
//
#define IDM_ABOUTBOX 0x0010
#define IDD_ABOUTBOX 100
#define IDS_ABOUTBOX 101
#define IDC_TRAYICON 101
#define IDD_KLOG_DIALOG 102
#define IDS_LOGTO_HOST 102
#define IDP_SOCKETS_INIT_FAILED 103
#define IDS_LOGTO_FILE 104
#define IDS_SOUND_MEOW 105
#define IDS_SOUND_GLASS 106
#define IDS_SOUND_FEAR 107
#define IDS_SOUND_KICK 108
#define IDS_WAVFILTER 109
#define IDS_SOUND_SELECT 110
#define IDS_LOGFILTER 111
#define IDS_LOG_SELECT 112
#define IDS_LOG_EXT 113
#define IDS_KLOGFILTER 114
#define IDS_KLOG_EXPORT 115
#define IDS_KLOG_IMPORT 116
#define IDS_KLOG_EXT 117
#define IDS_REGISTRYKEY 118
#define IDS_KLEVERNET_URL 119
#define IDS_TIP_LOG 120
#define IDS_LOGTIMEFORMAT 121
#define IDS_LOGPATTERN_TITLE 122
#define IDS_LOGFILETIMEFORMAT 123
#define IDS_TIP_FACILITY_ON 124
#define IDS_TIP_FACILITY_XOR 125
#define IDS_TIP_PRIORITY_ON 126
#define IDS_TIP_PRIORITY_XOR 127
#define IDR_MAINFRAME 128
#define IDS_LOGFILEPRIFACEFORMAT 128
#define IDS_LOGFILESOURCEFORMAT 129
#define IDI_KLOG 130
#define IDS_LOGHOSTSOURCEFORMAT 130
#define IDI_KLOG_TRIGGERED 131
#define IDS_MSG_LOOKUPFAILED 131
#define IDS_MSG_FAILEDTOEXPORT 132
#define IDS_MSG_FAILEDTOIMPORT 133
#define IDS_MSG_FAILEDTOSTORE 134
#define IDW_SOUND_MEOW 137
#define IDW_SOUND_GLASS 138
#define IDW_SOUND_FEAR 139
#define IDI_PREPLAY 140
#define IDW_SOUND_KICK 140
#define IDI_BROWSE 141
#define IDB_BACKGROUND 141
#define IDD_LOG_UNIX 143
#define IDD_LOG_RESERVED 144
#define IDI_LOGPATTERN 144
#define IDD_LOG_LOCAL 145
#define IDD_WARNBLOCKING 146
#define IDC_TABS 1001
#define IDC_ADD 1002
#define IDC_REMOVE 1003
#define IDC_EXIT 1004
#define IDC_TYPE_FILE 1005
#define IDC_TYPE_HOST 1006
#define IDC_TYPE_NONE 1007
#define IDC_HOSTORFILE 1008
#define IDC_HOSTFILE 1009
#define IDC_BROWSE 1010
#define IDC_DESC 1011
#define IDC_FACILITY 1017
#define IDC_EMERG 1018
#define IDC_ALERT 1019
#define IDC_CRIT 1020
#define IDC_ERR 1021
#define IDC_WARNING 1022
#define IDC_WARN_ON 1022
#define IDC_NOTICE 1023
#define IDC_WARN_XOR 1023
#define IDC_INFO 1024
#define IDC_DEBUG 1025
#define IDC_BROWSESOUND 1027
#define IDC_SOUND 1028
#define IDC_LOG 1029
#define IDC_PLAYSOUND 1030
#define IDC_ALL 1031
#define IDC_NONE 1032
#define IDC_HOSTS 1034
#define IDC_HL_IP 1035
#define IDC_HL_MASK 1036
#define IDC_HL_ADD 1037
#define IDC_HL_REMOVE 1038
#define IDC_INVERT 1040
#define IDC_LOGLENSPIN 1047
#define IDC_LOGLENGTH 1048
#define IDC_FILES 1052
#define IDC_KLEVERNET 1053
#define IDC_STATIC_LOGLENGTH 1054
#define IDC_EMERG_ON 1058
#define IDC_ALERT_ON 1059
#define IDC_CRIT_ON 1060
#define IDC_ERR_ON 1061
#define IDC_NOTICE_ON 1062
#define IDC_INFO_ON 1063
#define IDC_DEBUG_ON 1064
#define IDC_KERNEL_ON 1065
#define IDC_USER_ON 1066
#define IDC_MAIL_ON 1067
#define IDC_DAEMON_ON 1068
#define IDC_AUTH_ON 1069
#define IDC_SYSLOG_ON 1070
#define IDC_LPR_ON 1071
#define IDC_NEWS_ON 1072
#define IDC_UUCP_ON 1073
#define IDC_CRON_ON 1074
#define IDC_KERNEL_EMERG 1075
#define IDC_NOTICE_XOR 1076
#define IDC_INFO_XOR 1077
#define IDC_DEBUG_XOR 1078
#define IDC_KERNEL_XOR 1079
#define IDC_KERNEL_ALERT 1080
#define IDC_KERNEL_CRIT 1081
#define IDC_KERNEL_ERR 1082
#define IDC_KERNEL_WARN 1083
#define IDC_KERNEL_NOTICE 1084
#define IDC_KERNEL_INFO 1085
#define IDC_KERNEL_DEBUG 1086
#define IDC_USER_EMERG 1087
#define IDC_USER_ALERT 1088
#define IDC_USER_CRIT 1089
#define IDC_USER_ERR 1090
#define IDC_USER_WARN 1091
#define IDC_USER_NOTICE 1092
#define IDC_USER_INFO 1093
#define IDC_USER_DEBUG 1094
#define IDC_MAIL_EMERG 1095
#define IDC_MAIL_ALERT 1096
#define IDC_MAIL_CRIT 1097
#define IDC_MAIL_ERR 1098
#define IDC_MAIL_WARN 1099
#define IDC_MAIL_NOTICE 1100
#define IDC_MAIL_INFO 1101
#define IDC_MAIL_DEBUG 1102
#define IDC_DAEMON_EMERG 1103
#define IDC_DAEMON_ALERT 1104
#define IDC_DAEMON_CRIT 1105
#define IDC_DAEMON_ERR 1106
#define IDC_DAEMON_WARN 1107
#define IDC_DAEMON_NOTICE 1108
#define IDC_DAEMON_INFO 1109
#define IDC_DAEMON_DEBUG 1110
#define IDC_AUTH_EMERG 1111
#define IDC_AUTH_ALERT 1112
#define IDC_AUTH_CRIT 1113
#define IDC_AUTH_ERR 1114
#define IDC_AUTH_WARN 1115
#define IDC_AUTH_NOTICE 1116
#define IDC_AUTH_INFO 1117
#define IDC_AUTH_DEBUG 1118
#define IDC_SYSLOG_EMERG 1119
#define IDC_SYSLOG_ALERT 1120
#define IDC_SYSLOG_CRIT 1121
#define IDC_SYSLOG_ERR 1122
#define IDC_SYSLOG_WARN 1123
#define IDC_SYSLOG_NOTICE 1124
#define IDC_SYSLOG_INFO 1125
#define IDC_SYSLOG_DEBUG 1126
#define IDC_LPR_EMERG 1127
#define IDC_LPR_ALERT 1128
#define IDC_LPR_CRIT 1129
#define IDC_LPR_ERR 1130
#define IDC_LPR_WARN 1131
#define IDC_LPR_NOTICE 1132
#define IDC_LPR_INFO 1133
#define IDC_LPR_DEBUG 1134
#define IDC_NEWS_EMERG 1135
#define IDC_NEWS_ALERT 1136
#define IDC_NEWS_CRIT 1137
#define IDC_NEWS_ERR 1138
#define IDC_NEWS_WARN 1139
#define IDC_NEWS_NOTICE 1140
#define IDC_NEWS_INFO 1141
#define IDC_NEWS_DEBUG 1142
#define IDC_UUCP_EMERG 1143
#define IDC_UUCP_ALERT 1144
#define IDC_UUCP_CRIT 1145
#define IDC_UUCP_ERR 1146
#define IDC_UUCP_WARN 1147
#define IDC_UUCP_NOTICE 1148
#define IDC_UUCP_INFO 1149
#define IDC_UUCP_DEBUG 1150
#define IDC_CRON_EMERG 1151
#define IDC_CRON_ALERT 1152
#define IDC_CRON_CRIT 1153
#define IDC_CRON_ERR 1154
#define IDC_CRON_WARN 1155
#define IDC_CRON_NOTICE 1156
|