Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
68d4d0e0
Commit
68d4d0e0
authored
18 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add exit timeout
parent
755f804c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapApp/zmapApp_P.h
+16
-9
16 additions, 9 deletions
src/zmapApp/zmapApp_P.h
with
16 additions
and
9 deletions
src/zmapApp/zmapApp_P.h
+
16
−
9
View file @
68d4d0e0
...
...
@@ -20,14 +20,14 @@
* This file is part of the ZMap genome database package
* and was written by
* Ed Griffiths (Sanger Institute, UK) edgrif@sanger.ac.uk and
* Ro
b Clack
(Sanger Institute, UK) r
nc
@sanger.ac.uk,
* Ro
y Storey
(Sanger Institute, UK) r
ds
@sanger.ac.uk,
*
* Description:
*
Exported functions: See XXXXXXXXXXXXX.h
* Description:
Private header for application level of zmap.
*
* HISTORY:
* Last edited: Mar
7 07:35
2007 (edgrif)
* Last edited: Mar
9 11:14
2007 (edgrif)
* Created: Thu Jul 24 14:35:41 2003 (edgrif)
* CVS info: $Id: zmapApp_P.h,v 1.1
6
2007-03-0
7
1
4:07:46
edgrif Exp $
* CVS info: $Id: zmapApp_P.h,v 1.1
7
2007-03-0
9
1
1:37:55
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_APP_PRIV_H
...
...
@@ -54,11 +54,17 @@ typedef enum
}
ZMapAppState
;
/* Default time out (in seconds) for exitting zmap. */
enum
{
ZMAP_DEFAULT_EXIT_TIMEOUT
=
5
}
;
/* Overall application control struct. */
typedef
struct
_ZMapAppContextStruct
{
ZMapAppState
state
;
/* Needed to control exit in a clean way. */
int
exit_timeout
;
/* time (s) to wait before forced exit. */
GtkWidget
*
app_widg
;
GtkWidget
*
sequence_widg
;
...
...
@@ -75,15 +81,16 @@ typedef struct _ZMapAppContextStruct
ZMapLog
logger
;
gulong
propertyNotifyEventId
;
zMapXRemoteNotifyData
propertyNotifyData
;
zMapXRemoteObj
xremoteClient
;
/* May well be NULL */
gulong
propertyNotifyEventId
;
zMapXRemoteNotifyData
propertyNotifyData
;
zMapXRemoteObj
xremote_client
;
/* The external program we are sending
commands to. */
gboolean
show_mainwindow
;
/* Should main window be displayed. */
char
*
default_sequence
;
/* Was a default sequence specified in
the config. file.*/
/* char *event_model ;*/
}
ZMapAppContextStruct
,
*
ZMapAppContext
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment