aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-02-02 06:49:30 +0000
committerSaturneric <[email protected]>2022-02-02 06:49:30 +0000
commitcbefd7e5df4ab5f62e6fa53b5eba38bd5ea313a7 (patch)
tree27752edb10205b51037526bf3c4dffd4f86dc9ad
parent<refactor, fix>(ui): Repair and tidy the signal and slot docking (diff)
downloadGpgFrontend-cbefd7e5df4ab5f62e6fa53b5eba38bd5ea313a7.tar.gz
GpgFrontend-cbefd7e5df4ab5f62e6fa53b5eba38bd5ea313a7.zip
<doc>(project): Improve code document-related Settings
1. Generated code documentation should not be included in Git. 2. The contents of the project's home page in the code document should be placed in main.cpp.
-rw-r--r--.gitignore2
-rw-r--r--src/main.cpp10
2 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 243ab625..501d044a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
src/GpgFrontend.h
src/GpgFrontendBuildInfo.h
src/GpgFrontendBuildInstallInfo.h
+docs/
# gettext
*.mo
@@ -112,4 +113,3 @@ target_wrapper.*
# QtCreator
*.autosave
-
diff --git a/src/main.cpp b/src/main.cpp
index 8b6f7904..668fffd3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -26,6 +26,10 @@
*
*/
+/**
+ * \mainpage GpgFrontend Develop Document Main Page
+ */
+
#include <csetjmp>
#include <csignal>
#include <cstdlib>
@@ -76,6 +80,12 @@ extern void handle_signal(int sig);
*/
extern void before_exit();
+/**
+ *
+ * @param argc
+ * @param argv
+ * @return
+ */
int main(int argc, char* argv[]) {
// Register Signals
signal(SIGSEGV, handle_signal);