2024.8.17

This commit is contained in:
rootacite
2024-08-17 17:09:05 +08:00
committed by acite
parent 6d950b92f7
commit 4a7622807a
14 changed files with 1176 additions and 0 deletions

26
core/attach.cpp Normal file
View File

@@ -0,0 +1,26 @@
//
// Created by acite on 5/1/24.
//
#include <gtkmm.h>
using namespace Gtk;
extern Button* bAttach;
extern Dialog* dialogAttach;
extern Window* MainWindow;
void button_attach()
{
dialogAttach->show();
}
void button_exec()
{
int fk = fork();
if(fk == 0)
{
execl("/usr/bin/netstat", "netstat" ,"-tupln", NULL);
return;
}
}

4
core/core.cpp Normal file
View File

@@ -0,0 +1,4 @@
//
// Created by acite on 5/1/24.
//