1998-10-30 03:47:54 +03:00
|
|
|
/* Convenience functions for metadata handling in the MIdnight Commander
|
|
|
|
*
|
|
|
|
* Copyright (C) 1998 The Free Software Foundation
|
|
|
|
*
|
|
|
|
* Author: Federico Mena <federico@nuclecu.unam.mx>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GMETADATA_H
|
|
|
|
#define GMETADATA_H
|
|
|
|
|
|
|
|
|
1998-10-30 20:08:03 +03:00
|
|
|
/* Returns the coordinates of the icon corresponding to the specified file. If no position
|
1998-10-30 03:47:54 +03:00
|
|
|
* has been set, returns FALSE. Else it returns TRUE and sets the *x and *y values.
|
|
|
|
*/
|
1998-11-24 01:09:58 +03:00
|
|
|
int gmeta_get_icon_pos (char *filename, int *x, int *y);
|
1998-10-30 20:08:03 +03:00
|
|
|
|
|
|
|
/* Saves the icon position for the specified file */
|
1998-11-24 01:09:58 +03:00
|
|
|
void gmeta_set_icon_pos (char *filename, int x, int y);
|
1998-10-30 03:47:54 +03:00
|
|
|
|
1999-01-02 21:41:59 +03:00
|
|
|
/* Deletes the icon position information for the specified file */
|
|
|
|
void gmeta_del_icon_pos (char *filename);
|
|
|
|
|
1998-10-30 03:47:54 +03:00
|
|
|
|
|
|
|
#endif
|