Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
652cc447
Commit
652cc447
authored
16 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
We don't actually need the OnExecute handlers for the log pause actions.
parent
beb41114
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/sbbs3/ctrl/MainFormUnit.cpp
+6
-25
6 additions, 25 deletions
src/sbbs3/ctrl/MainFormUnit.cpp
src/sbbs3/ctrl/MainFormUnit.dfm
+0
-5
0 additions, 5 deletions
src/sbbs3/ctrl/MainFormUnit.dfm
src/sbbs3/ctrl/MainFormUnit.h
+0
-5
0 additions, 5 deletions
src/sbbs3/ctrl/MainFormUnit.h
with
6 additions
and
35 deletions
src/sbbs3/ctrl/MainFormUnit.cpp
+
6
−
25
View file @
652cc447
...
...
@@ -1034,6 +1034,12 @@ __fastcall TMainForm::TMainForm(TComponent* Owner)
listInit
(
&
web_log_list
,
LINK_LIST_MUTEX
);
listInit
(
&
mail_log_list
,
LINK_LIST_MUTEX
);
listInit
(
&
services_log_list
,
LINK_LIST_MUTEX
);
TelnetPause
->
DisableIfNoHandler
=
false
;
MailPause
->
DisableIfNoHandler
=
false
;
WebPause
->
DisableIfNoHandler
=
false
;
FtpPause
->
DisableIfNoHandler
=
false
;
ServicesPause
->
DisableIfNoHandler
=
false
;
}
//---------------------------------------------------------------------------
void
__fastcall
TMainForm
::
FileExitMenuItemClick
(
TObject
*
Sender
)
...
...
@@ -3852,33 +3858,8 @@ TFont* __fastcall TMainForm::LogAttributes(int log_level, TColor Color, TFont* F
return
LogFont
[
log_level
];
}
//---------------------------------------------------------------------------
void
__fastcall
TMainForm
::
TelnetPauseExecute
(
TObject
*
Sender
)
{
;
}
//---------------------------------------------------------------------------
void
__fastcall
TMainForm
::
MailPauseExecute
(
TObject
*
Sender
)
{
;
}
//---------------------------------------------------------------------------
void
__fastcall
TMainForm
::
FtpPauseExecute
(
TObject
*
Sender
)
{
;
}
//---------------------------------------------------------------------------
void
__fastcall
TMainForm
::
ServicesPauseExecute
(
TObject
*
Sender
)
{
;
}
//---------------------------------------------------------------------------
void
__fastcall
TMainForm
::
WebPauseExecute
(
TObject
*
Sender
)
{
;
}
//---------------------------------------------------------------------------
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/MainFormUnit.dfm
+
0
−
5
View file @
652cc447
...
...
@@ -14310,7 +14310,6 @@ object MainForm: TMainForm
Enabled = False
Hint = 'Pause Telnet Server Logging'
ImageIndex = 67
OnExecute = TelnetPauseExecute
end
object TelnetStop: TAction
Enabled = False
...
...
@@ -14351,7 +14350,6 @@ object MainForm: TMainForm
Enabled = False
Hint = 'Pause Mail Server Logging'
ImageIndex = 67
OnExecute = MailPauseExecute
end
object MailStop: TAction
Enabled = False
...
...
@@ -14451,7 +14449,6 @@ object MainForm: TMainForm
Enabled = False
Hint = 'Pause FTP Server Logging'
ImageIndex = 67
OnExecute = FtpPauseExecute
end
object FtpStop: TAction
Enabled = False
...
...
@@ -14519,7 +14516,6 @@ object MainForm: TMainForm
Enabled = False
Hint = 'Pause Services Logging'
ImageIndex = 67
OnExecute = ServicesPauseExecute
end
object ServicesStop: TAction
Caption = 'Stop'
...
...
@@ -14553,7 +14549,6 @@ object MainForm: TMainForm
Enabled = False
Hint = 'Pause Web Server Logging'
ImageIndex = 67
OnExecute = WebPauseExecute
end
object WebStop: TAction
Caption = 'Stop'
This diff is collapsed.
Click to expand it.
src/sbbs3/ctrl/MainFormUnit.h
+
0
−
5
View file @
652cc447
...
...
@@ -403,11 +403,6 @@ __published: // IDE-managed Components
void
__fastcall
WebConfigureExecute
(
TObject
*
Sender
);
void
__fastcall
ViewServicesExecute
(
TObject
*
Sender
);
void
__fastcall
SemFileTimerTick
(
TObject
*
Sender
);
void
__fastcall
TelnetPauseExecute
(
TObject
*
Sender
);
void
__fastcall
MailPauseExecute
(
TObject
*
Sender
);
void
__fastcall
FtpPauseExecute
(
TObject
*
Sender
);
void
__fastcall
ServicesPauseExecute
(
TObject
*
Sender
);
void
__fastcall
WebPauseExecute
(
TObject
*
Sender
);
private:
// User declarations
public:
// User declarations
__fastcall
TMainForm
(
TComponent
*
Owner
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment