SyncClient.h 1.0 KB

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) by Jocelyn Turcotte <jturcotte@woboq.com>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful, but
  10. * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  11. * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  12. * for more details.
  13. */
  14. #import <Foundation/Foundation.h>
  15. @protocol SyncClientDelegate <NSObject>
  16. - (void)setResultForPath:(NSString *)path result:(NSString *)result;
  17. - (void)reFetchFileNameCacheForPath:(NSString *)path;
  18. - (void)registerPath:(NSString *)path;
  19. - (void)unregisterPath:(NSString *)path;
  20. - (void)setString:(NSString *)key value:(NSString *)value;
  21. - (void)resetMenuItems;
  22. - (void)addMenuItem:(NSDictionary *)item;
  23. - (void)menuHasCompleted;
  24. - (void)connectionDidDie;
  25. @end