3a88c02326aadbb1df3436cd519f7b8a4df6ae5b chmalee Thu Jun 6 15:32:15 2024 -0700 Work in progress using the mysql table for hubSpace on client side diff --git src/hg/hgHubConnect/hgHubConnect.h src/hg/hgHubConnect/hgHubConnect.h index ad042fd..c1449d4 100644 --- src/hg/hgHubConnect/hgHubConnect.h +++ src/hg/hgHubConnect/hgHubConnect.h @@ -1,30 +1,35 @@ /* 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" +#include "cartJson.h" //extern struct cart *cart; /* This holds cgi and other variables between clicks. */ // the variables for various track hub wizard methods: #define hgHubDeleteFile "deleteFile" #define hgHubCreateHub "createHub" #define hgHubEditHub "editHub" +#define hgHubMoveFile "moveFile" -void doRemoveFile(); +void doRemoveFile(struct cartJson *cj, struct hash *paramHash); /* Process the request to remove a file */ -void doCreateHub(); +void doMoveFile(struct cartJson *cj, struct hash *paramHash); +/* Move a file to a new hub */ + +void doCreateHub(struct cartJson *cj, struct hash *paramHash); /* Make a new hub.txt with the parameters from the JSON request */ -void doEditHub(); +void doEditHub(struct cartJson *cj, struct hash *paramHash); /* 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 */ #endif /* HGHUBCONNECT_H */