File: workspaceparserthread.h

package info (click to toggle)
codeblocks 20.03-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 76,656 kB
  • sloc: cpp: 599,440; ansic: 32,194; xml: 17,922; makefile: 7,754; sh: 6,002; asm: 3,827; f90: 1,446; pascal: 716; python: 527; perl: 261; sed: 16; java: 4
file content (32 lines) | stat: -rw-r--r-- 616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef WORKSPACEPARSERTHREAD_H
#define WORKSPACEPARSERTHREAD_H

#include <sdk.h>
#ifndef CB_PRECOMP
    #include <wx/thread.h>
    #include <wx/event.h>

    #include <cbthreadpool.h>
#endif


extern wxMutex s_WorkspaceParserMutex;
extern wxMutex s_NewTokensMutex;

class NativeParserF;

class WorkspaceParserThread : public cbThreadedTask
{
public:
    WorkspaceParserThread(NativeParserF* parent, int idWSPThreadEvent);
    virtual ~WorkspaceParserThread();
    int Execute();
    void ParseFiles();

private:
    NativeParserF* m_pNativeParser;
    int m_idWSPThreadEvent;
};

#endif // WORKSPACEPARSERTHREAD_H