-
Notifications
You must be signed in to change notification settings - Fork 76
Cpp Styles
tsuibin edited this page Jan 19, 2016
·
22 revisions
#Class:
class DActionServer
{
public:
DActionServer();
int run(int port, char* argv[]);
int run(int port);
int signalServer();
void test();
void initDatabase();
void selectDatabase(QString className, QString functionName);
QByteArray getLowlevelSymbol(QString className, QString functionName);
int epoll_listening_fd;
int epoll_connections_fd;
int listening_fd;
int number_of_requests;
};
#Struct:
struct DThreadData{
long thread_id;
DActionServer * ptr;
};
#For:
for(int i = 0; i < size; i++)
{
doSomeThing();
}
#value
int m_size;
int m_userID;
int m_inputType
Welcome to join the Deepin developer community. You could talk about even everything in the following channels:
-
GitHub developer center(recommended)
-
IRC #deepin channel(recommended)
- Google groups: deepin-users, deepin-developers