debugger_default_event_handler.h
Go to the documentation of this file.
1 /*
2  * Copyright 2006-2008 The FLWOR Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef DEBUGGER_DEFAULT_EVENT_HANDLER_H
17 #define DEBUGGER_DEFAULT_EVENT_HANDLER_H
18 
20 
21 namespace zorba{
22 
23  class ZORBA_DLL_PUBLIC DefaultDebuggerEventHandler: public DebuggerEventHandler
24  {
25  public:
26 
27  virtual ~DefaultDebuggerEventHandler();
28 
29  void started();
30 
31  void idle();
32 
33  void suspended( QueryLocation & aLocation, SuspendedBy aCause );
34 
35  void resumed();
36 
37  void terminated();
38 
39  virtual void
40  evaluated(String &anExpr, std::list<std::pair<String, String> > &aValuesAndTypes);
41 
42  virtual void
43  evaluated(String &anExpr, String &anError);
44  };
45 }//end of namespace
46 #endif
47 /* vim:set et sw=2 ts=2: */
blog comments powered by Disqus