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
68ac24db
Commit
68ac24db
authored
20 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
add callbacks, add new init call.
parent
1a98cc2e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/include/ZMap/zmapControl.h
+20
-4
20 additions, 4 deletions
src/include/ZMap/zmapControl.h
with
20 additions
and
4 deletions
src/include/ZMap/zmapControl.h
+
20
−
4
View file @
68ac24db
...
...
@@ -25,9 +25,9 @@
* Description: Interface for creating, controlling and destroying ZMaps.
*
* HISTORY:
* Last edited: Jul
2
1
6
:5
4
2004 (edgrif)
* Last edited: Jul
13
1
5
:5
7
2004 (edgrif)
* Created: Mon Nov 17 08:04:32 2003 (edgrif)
* CVS info: $Id: zmapControl.h,v 1.
4
2004-07-
02 18:22:57
edgrif Exp $
* CVS info: $Id: zmapControl.h,v 1.
5
2004-07-
14 09:00:14
edgrif Exp $
*-------------------------------------------------------------------
*/
#ifndef ZMAP_CONTROL_H
...
...
@@ -100,7 +100,18 @@ typedef void (*ZMapCallbackFunc)(ZMap zmap, void *app_data) ;
ZMap
zMapCreate
(
void
*
app_data
,
ZMapCallbackFunc
zmap_destroyed_cb
)
;
/* Set of callback routines that allow the caller to be notified when events happen
* to a ZMap. */
typedef
struct
_ZMapCallbacksStruct
{
ZMapCallbackFunc
destroy
;
}
ZMapCallbacksStruct
,
*
ZMapCallbacks
;
void
zMapInit
(
ZMapCallbacks
callbacks
)
;
ZMap
zMapCreate
(
void
*
app_data
)
;
/* NOW THIS IS WHERE WE NEED GERROR........ */
ZMapView
zMapAddView
(
ZMap
zmap
,
char
*
sequence
)
;
...
...
@@ -114,6 +125,9 @@ char *zMapGetZMapStatus(ZMap zmap) ;
gboolean
zMapReset
(
ZMap
zmap
)
;
gboolean
zMapDestroy
(
ZMap
zmap
)
;
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
GPtrArray
*
zMapPaneGetCols
(
ZMapPane
pane
);
void
zMapPaneNewBox2Col
(
ZMapPane
pane
,
int
elements
);
ZMapColumn
*
zMapPaneGetBox2Col
(
ZMapPane
pane
,
int
index
);
...
...
@@ -123,9 +137,11 @@ void zMapPaneNewBox2Seg (ZMapPane pane, int elements);
ZMapFeature
zMapPaneGetBox2Seg
(
ZMapPane
pane
,
int
index
);
GArray
*
zMapPaneSetBox2Seg
(
ZMapPane
pane
,
ZMapColumn
*
seg
,
int
index
);
void
zMapPaneFreeBox2Seg
(
ZMapPane
pane
);
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
ZMapRegion
*
zMapPaneGetZMapRegion
(
ZMapPane
pane
);
FooCanvasItem
*
zMapPaneGetGroup
(
ZMapPane
pane
);
ZMapWindow
zMapPaneGetZMapWindow
(
ZMapPane
pane
);
FooCanvas
*
zMapPaneGetCanvas
(
ZMapPane
pane
);
int
zMapPaneGetDNAwidth
(
ZMapPane
pane
);
void
zMapPaneSetDNAwidth
(
ZMapPane
pane
,
int
width
);
...
...
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