0f349359a8bebbd67c7bd7bb732285dee71905fc chmalee Tue May 7 08:43:51 2024 -0700 Start of requiring hub,genome,and file type with each file submission diff --git src/hg/hgHubConnect/hgHubConnect.h src/hg/hgHubConnect/hgHubConnect.h index 9204d1b..ad042fd 100644 --- src/hg/hgHubConnect/hgHubConnect.h +++ src/hg/hgHubConnect/hgHubConnect.h @@ -1,24 +1,30 @@ /* hgHubConnect - User interfaces for connecting and managing track hubs */ /* Copyright (C) 2008 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #ifndef HGHUBCONNECT_H #define HGHUBCONNECT_H #include "cart.h" //extern struct cart *cart; /* This holds cgi and other variables between clicks. */ -// the form variable for the track hub wizard +// the variables for various track hub wizard methods: #define hgHubDeleteFile "deleteFile" +#define hgHubCreateHub "createHub" +#define hgHubEditHub "editHub" + void doRemoveFile(); /* Process the request to remove a file */ +void doCreateHub(); +/* Make a new hub.txt with the parameters from the JSON request */ + +void doEditHub(); +/* Edit the hub.txt for a hub */ + void doTrackHubWizard(); /* Print out the html to allow a user to upload some files from their machine to us */ -void doCreateHub(); -/* User has told us about some local files, turn them into a hub with sensible defaults */ - #endif /* HGHUBCONNECT_H */