Download

Support

/build/buildd/efreet-0.5.0.063/src/lib/efreet_utils.c File Reference

#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <fnmatch.h>
#include <Ecore.h>
#include <Ecore_File.h>
#include "Efreet.h"
#include "efreet_private.h"
Include dependency graph for efreet_utils.c:

Data Structures

struct  Efreet_Cache_Fill
struct  Efreet_Cache_Fill_Dir
struct  Efreet_Cache_Search
struct  Efreet_Cache_Search_List
struct  Efreet_Monitor
struct  Efreet_Util_Desktop

Defines

#define EFREET_MODULE_LOG_DOM   _efreet_utils_log_dom

Typedefs

typedef struct Efreet_Cache_Fill Efreet_Cache_Fill
typedef struct
Efreet_Cache_Fill_Dir 
Efreet_Cache_Fill_Dir
typedef struct Efreet_Cache_Search Efreet_Cache_Search
typedef struct
Efreet_Cache_Search_List 
Efreet_Cache_Search_List
typedef struct Efreet_Monitor Efreet_Monitor
typedef struct Efreet_Util_Desktop Efreet_Util_Desktop

Functions

EAPI Eina_List * efreet_util_desktop_categories_list (void)
EAPI Eina_List * efreet_util_desktop_category_list (const char *category)
EAPI Eina_List * efreet_util_desktop_comment_glob_list (const char *glob)
EAPI Efreet_Desktopefreet_util_desktop_exec_find (const char *exec)
EAPI Eina_List * efreet_util_desktop_exec_glob_list (const char *glob)
EAPI Efreet_Desktopefreet_util_desktop_file_id_find (const char *file_id)
EAPI Efreet_Desktopefreet_util_desktop_generic_name_find (const char *generic_name)
EAPI Eina_List * efreet_util_desktop_generic_name_glob_list (const char *glob)
EAPI Eina_List * efreet_util_desktop_mime_list (const char *mime)
EAPI Efreet_Desktopefreet_util_desktop_name_find (const char *name)
EAPI Eina_List * efreet_util_desktop_name_glob_list (const char *glob)
EAPI Efreet_Desktopefreet_util_desktop_wm_class_find (const char *wmname, const char *wmclass)
EAPI int efreet_util_init (void)
EAPI Eina_List * efreet_util_menus_find (void)
EAPI const char * efreet_util_path_to_file_id (const char *path)
EAPI int efreet_util_shutdown (void)

Variables

EAPI int EFREET_EVENT_DESKTOP_CHANGE = 0
EAPI int EFREET_EVENT_DESKTOP_LIST_CHANGE = 0

Define Documentation

#define EFREET_MODULE_LOG_DOM   _efreet_utils_log_dom

Typedef Documentation


Function Documentation

EAPI Eina_List* efreet_util_desktop_categories_list ( void   ) 

Find all desktop categories This list must be freed using EINA_LIST_FREE

Returns:
an Eina_List of category names (const char *)
EAPI Eina_List* efreet_util_desktop_category_list ( const char *  category  ) 

Find all desktops in a given category

Note: this returns a pointer to an internal list. Do not add to, remove from, or delete this list.

Parameters:
category the category name
Returns:
a list of desktops
EAPI Eina_List* efreet_util_desktop_comment_glob_list ( const char *  glob  ) 
EAPI Eina_List* efreet_util_desktop_exec_glob_list ( const char *  glob  ) 
EAPI Efreet_Desktop* efreet_util_desktop_generic_name_find ( const char *  generic_name  ) 
EAPI Eina_List* efreet_util_desktop_generic_name_glob_list ( const char *  glob  ) 
EAPI Eina_List* efreet_util_desktop_mime_list ( const char *  mime  ) 
EAPI Eina_List* efreet_util_desktop_name_glob_list ( const char *  glob  ) 
EAPI Efreet_Desktop* efreet_util_desktop_wm_class_find ( const char *  wmname,
const char *  wmclass 
)
EAPI Eina_List* efreet_util_menus_find ( void   ) 

Returns a list of .menu files found in the various config dirs.

Returns:
An eina list of menu file paths (const char *). This must be freed with EINA_LIST_FREE.

References efreet_config_dirs_get(), and efreet_config_home_get().

EAPI const char* efreet_util_path_to_file_id ( const char *  path  ) 
EAPI int efreet_util_shutdown ( void   ) 

Variable Documentation


Copyright © Enlightenment.org

Efreet Documentation Generated: Tue Dec 22 16:13:53 2009