raster, you just broke compilation on Windows

Vincent

On Fri, 13 Aug 2010, Enlightenment SVN wrote:

> Log:
>  1 step closer to this actually building. :)
>
>
> Author:       raster
> Date:         2010-08-13 01:37:44 -0700 (Fri, 13 Aug 2010)
> New Revision: 51067
>
> Modified:
>  trunk/PROTO/epdf/src/bin/Makefile.am trunk/PROTO/epdf/src/lib/Epdf.h 
> trunk/PROTO/epdf/src/lib/epdf_document.h 
> trunk/PROTO/epdf/src/lib/epdf_fontinfo.h 
> trunk/PROTO/epdf/src/lib/epdf_index.h trunk/PROTO/epdf/src/lib/epdf_main.h 
> trunk/PROTO/epdf/src/lib/epdf_page.h 
> trunk/PROTO/epdf/src/lib/epdf_page_transition.h 
> trunk/PROTO/epdf/src/lib/epdf_postscript.h
>
> Modified: trunk/PROTO/epdf/src/bin/Makefile.am
> ===================================================================
> --- trunk/PROTO/epdf/src/bin/Makefile.am      2010-08-13 06:58:43 UTC (rev 
> 51066)
> +++ trunk/PROTO/epdf/src/bin/Makefile.am      2010-08-13 08:37:44 UTC (rev 
> 51067)
> @@ -5,7 +5,8 @@
> EPDF_EWL_TEST = epdf_ewl_test
> endif
>
> -bin_PROGRAMS = epdf_evas_test epdf_esmart_test $(EPDF_EWL_TEST)
> +#bin_PROGRAMS = epdf_evas_test epdf_esmart_test $(EPDF_EWL_TEST)
> +bin_PROGRAMS = epdf_evas_test
>
> ## evas test
>
>
> Modified: trunk/PROTO/epdf/src/lib/Epdf.h
> ===================================================================
> --- trunk/PROTO/epdf/src/lib/Epdf.h   2010-08-13 06:58:43 UTC (rev 51066)
> +++ trunk/PROTO/epdf/src/lib/Epdf.h   2010-08-13 08:37:44 UTC (rev 51067)
> @@ -82,7 +82,32 @@
> #include <Eina.h>
> #include <Evas.h>
>
> +#ifdef EAPI
> +# undef EAPI
> +#endif
>
> +#ifdef _WIN32
> +# ifdef EPDF_BUILD
> +#  ifdef DLL_EXPORT
> +#   define EAPI __declspec(dllexport)
> +#  else
> +#   define EAPI
> +#  endif /* ! DLL_EXPORT */
> +# else
> +#  define EAPI __declspec(dllimport)
> +# endif /* ! EFL_EVAS_BUILD */
> +#else
> +# ifdef __GNUC__
> +#  if __GNUC__ >= 4
> +#   define EAPI __attribute__ ((visibility("default")))
> +#  else
> +#   define EAPI
> +#  endif
> +# else
> +#  define EAPI
> +# endif
> +#endif /* ! _WIN32 */
> +
> #ifdef __cplusplus
> extern "C" {
> #endif
>
> Modified: trunk/PROTO/epdf/src/lib/epdf_document.h
> ===================================================================
> --- trunk/PROTO/epdf/src/lib/epdf_document.h  2010-08-13 06:58:43 UTC (rev 
> 51066)
> +++ trunk/PROTO/epdf/src/lib/epdf_document.h  2010-08-13 08:37:44 UTC (rev 
> 51067)
> @@ -30,7 +30,7 @@
>  * PDF file whose name is @p filename. The result must be freed with
>  * epdf_document_delete().
>  */
> -Epdf_Document *epdf_document_new (const char *filename);
> +EAPI Epdf_Document *epdf_document_new (const char *filename);
>
> /**
>  * @brief Delete an Epdf_Document object
> @@ -40,7 +40,7 @@
>  * Delete the Epdf_Document @p document that has been created
>  * with epdf_document_new().
>  */
> -void epdf_document_delete (Epdf_Document *document);
> +EAPI void epdf_document_delete (Epdf_Document *document);
>
> /**
>  * @brief Return the count of the pages of the document
> @@ -50,7 +50,7 @@
>  *
>  * Return the count of the pages of the document @p document
>  */
> -int epdf_document_page_count_get (const Epdf_Document *document);
> +EAPI int epdf_document_page_count_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the page mode of the document
> @@ -60,7 +60,7 @@
>  *
>  * Return the page mode of the document @p document
>  */
> -Epdf_Document_Page_Mode epdf_document_page_mode_get (const Epdf_Document 
> *document);
> +EAPI Epdf_Document_Page_Mode epdf_document_page_mode_get (const 
> Epdf_Document *document);
>
> /**
>  * @brief Unlock the document
> @@ -71,7 +71,8 @@
>  *
>  * Unlock the document @p document with the password @p password
>  */
> -unsigned char epdf_document_unlock (Epdf_Document *document, const char 
> *password);
> +EAPI unsigned char epdf_document_unlock (Epdf_Document *document,
> +                                         const char *password);
>
> /**
>  * @brief Return whether the document is locked
> @@ -81,7 +82,7 @@
>  *
>  * Return whether the document @p document is locked
>  */
> -unsigned char epdf_document_is_locked (const Epdf_Document *document);
> +EAPI unsigned char epdf_document_is_locked (const Epdf_Document *document);
>
> /**
>  * @brief To be implemented
> @@ -92,7 +93,8 @@
>  *
>  * Return NULL
>  */
> -const char *epdf_document_info_get (const Epdf_Document *document, const 
> char *data);
> +EAPI const char *epdf_document_info_get (const Epdf_Document *document,
> +                                         const char *data);
>
> /**
>  * @brief Return wheter the document is encrypted
> @@ -102,7 +104,7 @@
>  *
>  * Return wheter the document @p document is encrypted
>  */
> -unsigned char epdf_document_is_encrypted (const Epdf_Document *document);
> +EAPI unsigned char epdf_document_is_encrypted (const Epdf_Document 
> *document);
>
> /**
>  * @brief Return wheter the document is linearized
> @@ -112,7 +114,7 @@
>  *
>  * Return wheter the document @p document is linearized
>  */
> -unsigned char epdf_document_is_linearized (const Epdf_Document *document);
> +EAPI unsigned char epdf_document_is_linearized (const Epdf_Document 
> *document);
>
> /**
>  * @brief Return wheter the document is printable
> @@ -122,7 +124,7 @@
>  *
>  * Return wheter the document @p document is printable
>  */
> -unsigned char epdf_document_is_printable (const Epdf_Document *document);
> +EAPI unsigned char epdf_document_is_printable (const Epdf_Document 
> *document);
>
> /**
>  * @brief Return wheter the document is changeable
> @@ -132,7 +134,7 @@
>  *
>  * Return wheter the document @p document is changeable
>  */
> -unsigned char epdf_document_is_changeable (const Epdf_Document *document);
> +EAPI unsigned char epdf_document_is_changeable (const Epdf_Document 
> *document);
>
> /**
>  * @brief Return wheter the document is copyable
> @@ -142,7 +144,7 @@
>  *
>  * Return wheter the document @p document is copyable
>  */
> -unsigned char epdf_document_is_copyable (const Epdf_Document *document);
> +EAPI unsigned char epdf_document_is_copyable (const Epdf_Document *document);
>
> /**
>  * @brief Return wheter the document is notable
> @@ -152,7 +154,7 @@
>  *
>  * Return wheter the document @p document is notable
>  */
> -unsigned char epdf_document_is_notable (const Epdf_Document *document);
> +EAPI unsigned char epdf_document_is_notable (const Epdf_Document *document);
>
> /**
>  * @brief Return the version of the pdf used in the document
> @@ -164,7 +166,9 @@
>  * Return the major and minor version of the pdf used in the document
>  * @p document respectively in @p major and @p minor.
>  */
> -void epdf_document_pdf_version_get (const Epdf_Document *document, int 
> *major, int *minor);
> +EAPI void epdf_document_pdf_version_get (const Epdf_Document *document,
> +                                        int *major,
> +                                        int *minor);
>
> /**
>  * @brief Return a list of the fonts used in the document
> @@ -174,7 +178,7 @@
>  *
>  * Return a list of the fonts used in the document @p document
>  */
> -Eina_List *epdf_document_fonts_get (const Epdf_Document *document);
> +EAPI Eina_List *epdf_document_fonts_get (const Epdf_Document *document);
>
> /**
>  * @brief Return a list of the fonts used in a page of the document
> @@ -186,8 +190,8 @@
>  * Return a list of the fonts used in the document @p document in the
>  * page number @p page_count
>  */
> -Eina_List * epdf_document_scan_for_fonts (const Epdf_Document *document,
> -                                          int                  page_count);
> +EAPI Eina_List * epdf_document_scan_for_fonts (const Epdf_Document *document,
> +                                               int                  
> page_count);
>
>
> /* Metadata information functions. Used for display */
> @@ -200,7 +204,7 @@
>  *
>  * Return the filename of the document @p document as a string
>  */
> -const char *epdf_document_filename_get (const Epdf_Document *document);
> +EAPI const char *epdf_document_filename_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the title as a string
> @@ -211,7 +215,7 @@
>  * Return the title of the document @p document as a string. The
>  * result must be freed
>  */
> -char *epdf_document_title_get (const Epdf_Document *document);
> +EAPI char *epdf_document_title_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the author as a string
> @@ -222,7 +226,7 @@
>  * Return the author of the document @p document as a string. The
>  * result must be freed
>  */
> -char *epdf_document_author_get (const Epdf_Document *document);
> +EAPI char *epdf_document_author_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the subject as a string
> @@ -233,7 +237,7 @@
>  * Return the subject of the document @p document as a string. The
>  * result must be freed.
>  */
> -char *epdf_document_subject_get (const Epdf_Document *document);
> +EAPI char *epdf_document_subject_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the keywords as a string
> @@ -244,7 +248,7 @@
>  * Return the keywords of the document @p document as a string. The
>  * result must be freed
>  */
> -char *epdf_document_keywords_get (const Epdf_Document *document);
> +EAPI char *epdf_document_keywords_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the creator as a string
> @@ -255,7 +259,7 @@
>  * Return the creator of the document @p document as a string. The
>  * result must be freed
>  */
> -char *epdf_document_creator_get (const Epdf_Document *document);
> +EAPI char *epdf_document_creator_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the producer as a string
> @@ -266,7 +270,7 @@
>  * Return the producer of the document @p document as a string. The
>  * result must be freed
>  */
> -char *epdf_document_producer_get (const Epdf_Document *document);
> +EAPI char *epdf_document_producer_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the creation date as a string
> @@ -277,7 +281,7 @@
>  * Return the creation date of the document @p document as a
>  * string. The result must be freed.
>  */
> -char *epdf_document_creation_date_get (const Epdf_Document *document);
> +EAPI char *epdf_document_creation_date_get (const Epdf_Document *document);
>
> /**
>  * @brief Return the modification date as a string
> @@ -288,7 +292,7 @@
>  * Return the modification date of the document @p document as a
>  * string. The result must be freed.
>  */
> -char *epdf_document_mod_date_get (const Epdf_Document *document);
> +EAPI char *epdf_document_mod_date_get (const Epdf_Document *document);
>
> /**
>  * @brief Return whether the document is linearized, as a string
> @@ -299,7 +303,7 @@
>  * Return whether the document @p document is linearized, as a
>  * string. The result must not be freed.
>  */
> -const char *epdf_document_linearized_get (const Epdf_Document *document);
> +EAPI const char *epdf_document_linearized_get (const Epdf_Document 
> *document);
>
> /**
>  * @brief Return the page mode of the document
> @@ -310,7 +314,7 @@
>  * Return the page mode of the document @p document, as a string. The
>  * result must not be freed.
>  */
> -const char *epdf_document_page_mode_string_get (const Epdf_Document 
> *document);
> +EAPI const char *epdf_document_page_mode_string_get (const Epdf_Document 
> *document);
>
> /**
>  * @brief Return the page layout of the document
> @@ -321,7 +325,7 @@
>  * Return the page layout of the document @p document, as a string. The
>  * result must not be freed.
>  */
> -const char *epdf_document_page_layout_string_get (const Epdf_Document 
> *document);
> +EAPI const char *epdf_document_page_layout_string_get (const Epdf_Document 
> *document);
>
> /**
>  * @}
>
> Modified: trunk/PROTO/epdf/src/lib/epdf_fontinfo.h
> ===================================================================
> --- trunk/PROTO/epdf/src/lib/epdf_fontinfo.h  2010-08-13 06:58:43 UTC (rev 
> 51066)
> +++ trunk/PROTO/epdf/src/lib/epdf_fontinfo.h  2010-08-13 08:37:44 UTC (rev 
> 51067)
> @@ -33,11 +33,11 @@
>  * Return a newly created Epdf_Font_Info structure. It must be
>  * freed with epdf_font_info_delete.
>  */
> -Epdf_Font_Info *epdf_font_info_new (const char         *font_name,
> -                                    const char         *font_path,
> -                                    unsigned char       is_embedded,
> -                                    unsigned char       is_subset,
> -                                    Epdf_Font_Info_Type type);
> +EAPI Epdf_Font_Info *epdf_font_info_new (const char         *font_name,
> +                                         const char         *font_path,
> +                                         unsigned char       is_embedded,
> +                                         unsigned char       is_subset,
> +                                         Epdf_Font_Info_Type type);
>
> /**
>  * @brief Delete a Epdf_Font_Info
> @@ -46,7 +46,7 @@
>  *
>  * Delete a Epdf_Font_Info structure allocated by epdf_font_info_new
>  */
> -void epdf_font_info_delete (Epdf_Font_Info *fi);
> +EAPI void epdf_font_info_delete (Epdf_Font_Info *fi);
>
> /**
>  * @brief Get the name of a Epdf_Font_Info
> @@ -56,7 +56,7 @@
>  *
>  * Get the name of a Epdf_Font_Info. The name must not be freed.
>  */
> -const char *epdf_font_info_font_name_get (const Epdf_Font_Info *fi);
> +EAPI const char *epdf_font_info_font_name_get (const Epdf_Font_Info *fi);
>
> /**
>  * @brief Get the path of a Epdf_Font_Info
> @@ -66,7 +66,7 @@
>  *
>  * Get the path of a Epdf_Font_Info. The path must not be freed.
>  */
> -const char *epdf_font_info_font_path_get (const Epdf_Font_Info *fi);
> +EAPI const char *epdf_font_info_font_path_get (const Epdf_Font_Info *fi);
>
> /**
>  * @brief Whether the font is embedded in the file, or not
> @@ -76,7 +76,7 @@
>  *
>  * Whether the font is embedded in the file, or not
>  */
> -unsigned char epdf_font_info_is_embedded_get (const Epdf_Font_Info *fi);
> +EAPI unsigned char epdf_font_info_is_embedded_get (const Epdf_Font_Info *fi);
>
> /**
>  * @brief Whether the font provided is only a subset of the full
> @@ -87,7 +87,7 @@
>  *
>  * Whether the font is a subset, or not
>  */
> -unsigned char epdf_font_info_is_subset_get (const Epdf_Font_Info *fi);
> +EAPI unsigned char epdf_font_info_is_subset_get (const Epdf_Font_Info *fi);
>
> /**
>  * @brief The type of the font encoding
> @@ -97,7 +97,7 @@
>  *
>  * The type of the font encoding as a Epdf_Font_Info_Type
>  */
> -Epdf_Font_Info_Type epdf_font_info_type_get (const Epdf_Font_Info *fi);
> +EAPI Epdf_Font_Info_Type epdf_font_info_type_get (const Epdf_Font_Info *fi);
>
> /**
>  * @brief The type of the font encoding
> @@ -109,7 +109,7 @@
>  * used for displaying the type encoding of the font with printf, for
>  * example. The result must not be freed
>  */
> -const char *epdf_font_info_type_name_get (const Epdf_Font_Info *fi);
> +EAPI const char *epdf_font_info_type_name_get (const Epdf_Font_Info *fi);
>
> /**
>  * @}
>
> Modified: trunk/PROTO/epdf/src/lib/epdf_index.h
> ===================================================================
> --- trunk/PROTO/epdf/src/lib/epdf_index.h     2010-08-13 06:58:43 UTC (rev 
> 51066)
> +++ trunk/PROTO/epdf/src/lib/epdf_index.h     2010-08-13 08:37:44 UTC (rev 
> 51067)
> @@ -28,7 +28,7 @@
>  * Return a newly created Epdf_Index_Item object. This is
>  * mainly used for internal usage. You surely don't need to use it
>  */
> -Epdf_Index_Item * epdf_index_item_new ();
> +EAPI Epdf_Index_Item * epdf_index_item_new ();
>
> /**
>  * @brief Return the title of an item
> @@ -38,7 +38,7 @@
>  *
>  * Return the title of the item @p item
>  */
> -const char *epdf_index_item_title_get (const Epdf_Index_Item *item);
> +EAPI const char *epdf_index_item_title_get (const Epdf_Index_Item *item);
>
> /**
>  * @brief Return the children of an item
> @@ -49,7 +49,7 @@
>  * Return a list of all the children of the item @p item (that is, the
>  * subsection), or NULL if no child.
>  */
> -Eina_List *epdf_index_item_children_get (const Epdf_Index_Item *item);
> +EAPI Eina_List *epdf_index_item_children_get (const Epdf_Index_Item *item);
>
> /**
>  * @brief Return the action kind of an item
> @@ -59,7 +59,7 @@
>  *
>  * Return the kind of action of the item @p item
>  */
> -Epdf_Link_Action_Kind epdf_index_item_action_kind_get (const Epdf_Index_Item 
> *item);
> +EAPI Epdf_Link_Action_Kind epdf_index_item_action_kind_get (const 
> Epdf_Index_Item *item);
>
> /**
>  * @brief Return the destination page of an item
> @@ -70,8 +70,8 @@
>  *
>  * Return the destination of the item @p item. The first page is @c 0
>  */
> -int
> -epdf_index_item_page_get (const Epdf_Document *document, const 
> Epdf_Index_Item *item);
> +EAPI int epdf_index_item_page_get (const Epdf_Document *document,
> +                                   const Epdf_Index_Item *item);
>
> /**
>  * @brief Return a newly created Epdf_Index object
> @@ -84,7 +84,7 @@
>  * documant (a kind of Table of Contents). The result must be freed with
>  * epdf_index_delete()
>  */
> -Eina_List *epdf_index_new (const Epdf_Document *document);
> +EAPI Eina_List *epdf_index_new (const Epdf_Document *document);
>
> /**
>  * @brief Delete an Epdf_Index object
> @@ -95,7 +95,7 @@
>  * with epdf_index_new()
>  *
>  */
> -void epdf_index_delete (Eina_List *index);
> +EAPI void epdf_index_delete (Eina_List *index);
>
> /**
>  * @}
>
> Modified: trunk/PROTO/epdf/src/lib/epdf_main.h
> ===================================================================
> --- trunk/PROTO/epdf/src/lib/epdf_main.h      2010-08-13 06:58:43 UTC (rev 
> 51066)
> +++ trunk/PROTO/epdf/src/lib/epdf_main.h      2010-08-13 08:37:44 UTC (rev 
> 51067)
> @@ -14,9 +14,9 @@
>  * @ingroup Epdf
>  */
>
> -int epdf_init (void);
> +EAPI int epdf_init (void);
>
> -int epdf_shutdown();
> +EAPI int epdf_shutdown();
>
> /**
>  * @brief Return the version of Poppler.
> @@ -27,7 +27,7 @@
>  *
>  * @ingroup Epdf_Main
>  */
> -const char *epdf_backend_version_get (void);
> +EAPI const char *epdf_backend_version_get (void);
>
> /**
>  * @brief Return the state of fonts antialiasing in Poppler
> @@ -39,7 +39,7 @@
>  *
>  * @ingroup Epdf_Main
>  */
> -Eina_Bool epdf_fonts_antialias_get (void);
> +EAPI Eina_Bool epdf_fonts_antialias_get (void);
>
> /**
>  * @brief Sets fonts antialiasing mode in Poppler
> @@ -49,7 +49,7 @@
>  * Set @p on to EINA_TRUE to enable fonts antialiasing in Poppler,
>  * EINA_FALSE to disable it.
>  */
> -void epdf_fonts_antialias_set (Eina_Bool on);
> +EAPI void epdf_fonts_antialias_set (Eina_Bool on);
>
> /**
>  * @brief Return the state of lines antialiasing in Poppler
> @@ -61,7 +61,7 @@
>  *
>  * @ingroup Epdf_Main
>  */
> -Eina_Bool epdf_lines_antialias_get (void);
> +EAPI Eina_Bool epdf_lines_antialias_get (void);
>
> /**
>  * @brief Sets lines antialiasing mode in Poppler
> @@ -71,7 +71,7 @@
>  * Set @p on to EINA_TRUE to enable lines antialiasing in Poppler,
>  * EINA_FALSE to disable it.
>  */
> -void epdf_lines_antialias_set (Eina_Bool on);
> +EAPI void epdf_lines_antialias_set (Eina_Bool on);
>
>
> #endif /* __EPDF_MAIN_H__ */
>
> Modified: trunk/PROTO/epdf/src/lib/epdf_page.h
> ===================================================================
> --- trunk/PROTO/epdf/src/lib/epdf_page.h      2010-08-13 06:58:43 UTC (rev 
> 51066)
> +++ trunk/PROTO/epdf/src/lib/epdf_page.h      2010-08-13 08:37:44 UTC (rev 
> 51067)
> @@ -39,7 +39,7 @@
>  * corresponding to the page @p index. It must be freed with
>  * epdf_page_delete()
>  */
> -Epdf_Page *epdf_page_new (const Epdf_Document *doc);
> +EAPI Epdf_Page *epdf_page_new (const Epdf_Document *doc);
>
> /**
>  * @brief Delete an Epdf_Page object
> @@ -49,7 +49,7 @@
>  * Delete the Epdf_Page object @p page, created with
>  * epdf_page_new()
>  */
> -void epdf_page_delete (Epdf_Page *page);
> +EAPI void epdf_page_delete (Epdf_Page *page);
>
> /**
>  * @brief Render a page on an Evas_Object
> @@ -60,8 +60,8 @@
>  * Render page @p page on the Evas_Object @p o with the current
>  * properties of @p page.
>  */
> -void epdf_page_render (Epdf_Page   *page,
> -                       Evas_Object *o);
> +EAPI void epdf_page_render (Epdf_Page   *page,
> +                            Evas_Object *o);
>
> /**
>  * @brief Render a page on an Evas_Object
> @@ -80,12 +80,12 @@
>  * If @p w is less than 0, the original width is choosen.
>  * If @p h is less than 0, the original height is choosen.
>  */
> -void epdf_page_render_slice (Epdf_Page   *page,
> -                             Evas_Object *o,
> -                             int          x,
> -                             int          y,
> -                             int          w,
> -                             int          h);
> +EAPI void epdf_page_render_slice (Epdf_Page   *page,
> +                                  Evas_Object *o,
> +                                  int          x,
> +                                  int          y,
> +                                  int          w,
> +                                  int          h);
>
> /**
>  * @brief Set the page number
> @@ -95,7 +95,7 @@
>  *
>  * Set the page number of the page @p page to @p p
>  */
> -void epdf_page_page_set (Epdf_Page *page, int p);
> +EAPI void epdf_page_page_set (Epdf_Page *page, int p);
>
> /**
>  * @brief Return the current page number
> @@ -105,7 +105,7 @@
>  *
>  * Return the current number of the page @p page
>  */
> -int epdf_page_page_get (const Epdf_Page *page);
> +EAPI int epdf_page_page_get (const Epdf_Page *page);
>
> /**
>  * @brief Return the text of a page contained in a rectangle
> @@ -117,8 +117,8 @@
>  * Return the text of the page @p contained in the rectangle @p r. The
>  * result must be freed
>  */
> -char *epdf_page_text_get (Epdf_Page     *page,
> -                          Epdf_Rectangle r);
> +EAPI char *epdf_page_text_get (Epdf_Page     *page,
> +                               Epdf_Rectangle r);
>
> /**
>  * @brief Return a list of rectangle in tha page, all of them containing a 
> given text
> @@ -134,9 +134,9 @@
>  * into account. The list must be destroyed with a call to
>  * ecore_list_destroy()
>  */
> -Eina_List *epdf_page_text_find (const Epdf_Page *page,
> -                                const char      *text,
> -                                unsigned char    is_case_sensitive);
> +EAPI Eina_List *epdf_page_text_find (const Epdf_Page *page,
> +                                     const char      *text,
> +                                     unsigned char    is_case_sensitive);
>
> /**
>  * Return the transition of a page
> @@ -146,7 +146,7 @@
>  *
>  * Return the transition of the page @p page
>  */
> -Epdf_Page_Transition *epdf_page_transition_get (const Epdf_Page *page);
> +EAPI Epdf_Page_Transition *epdf_page_transition_get (const Epdf_Page *page);
>
> /**
>  * @brief Return the size of a page
> @@ -159,7 +159,7 @@
>  * On failure, @p width and @p height store both 0. @p width or
>  * @p height can be @c NULL.
>  */
> -void epdf_page_size_get (const Epdf_Page *page, int *width, int *height);
> +EAPI void epdf_page_size_get (const Epdf_Page *page, int *width, int 
> *height);
>
> /**
>  * @brief Set the scale of a page
> @@ -172,9 +172,9 @@
>  * the @p page, in pixel per points. A value of 1.0 and 1.0 (resp.)
>  * means that the original size of the document is choosen.
>  */
> -void epdf_page_scale_set (Epdf_Page *page,
> -                          double     hscale,
> -                          double     vscale);
> +EAPI void epdf_page_scale_set (Epdf_Page *page,
> +                               double     hscale,
> +                               double     vscale);
>
> /**
>  * @brief Get the scale of a page
> @@ -186,9 +186,9 @@
>  * Store the horizontal and vertical scale of the page @p page respectively
>  * in the buffers @p hscale and vertical scale @p vscale, in pixel per points.
>  */
> -void epdf_page_scale_get (const Epdf_Page *page,
> -                          double          *hscale,
> -                          double          *vscale);
> +EAPI void epdf_page_scale_get (const Epdf_Page *page,
> +                               double          *hscale,
> +                               double          *vscale);
>
> /**
>  * @brief Set the orientation of a page
> @@ -198,8 +198,8 @@
>  *
>  * Set the orientation of @p page to @p orientation.
>  */
> -void epdf_page_orientation_set (Epdf_Page            *page,
> -                                Epdf_Page_Orientation orientation);
> +EAPI void epdf_page_orientation_set (Epdf_Page            *page,
> +                                     Epdf_Page_Orientation orientation);
>
> /**
>  * @brief Return the orientation of a page
> @@ -209,7 +209,7 @@
>  *
>  * Return the orientation of the page @p page
>  */
> -Epdf_Page_Orientation epdf_page_orientation_get (const Epdf_Page *page);
> +EAPI Epdf_Page_Orientation epdf_page_orientation_get (const Epdf_Page *page);
>
> /**
>  * @}
>
> Modified: trunk/PROTO/epdf/src/lib/epdf_page_transition.h
> ===================================================================
> --- trunk/PROTO/epdf/src/lib/epdf_page_transition.h   2010-08-13 06:58:43 UTC 
> (rev 51066)
> +++ trunk/PROTO/epdf/src/lib/epdf_page_transition.h   2010-08-13 08:37:44 UTC 
> (rev 51067)
> @@ -26,7 +26,7 @@
>  *
>  * Delete an Epdf_Page_Transition object @p transition
>  */
> -void epdf_page_transition_delete (Epdf_Page_Transition *transition);
> +EAPI void epdf_page_transition_delete (Epdf_Page_Transition *transition);
>
> /**
>  * @brief Return the type of a transition
> @@ -37,7 +37,7 @@
>  * Return the type of the transition @p transition, as an
>  * Epdf_Page_Transition_Type
>  */
> -Epdf_Page_Transition_Type epdf_page_transition_type_get 
> (Epdf_Page_Transition *transition);
> +EAPI Epdf_Page_Transition_Type epdf_page_transition_type_get 
> (Epdf_Page_Transition *transition);
>
> /**
>  * @brief Return the duration of a transition
> @@ -47,7 +47,7 @@
>  *
>  * Return the duration of the transition @p transition
>  */
> -int epdf_page_transition_duration_get (Epdf_Page_Transition *transition);
> +EAPI int epdf_page_transition_duration_get (Epdf_Page_Transition 
> *transition);
>
> /**
>  * @brief Return the alignment of a transition
> @@ -57,7 +57,7 @@
>  *
>  * Return the alignment of the transition @p transition
>  */
> -Epdf_Page_Transition_Alignment epdf_page_transition_alignment_get 
> (Epdf_Page_Transition *transition);
> +EAPI Epdf_Page_Transition_Alignment epdf_page_transition_alignment_get 
> (Epdf_Page_Transition *transition);
>
> /**
>  * @brief Return the direction of a transition
> @@ -67,7 +67,7 @@
>  *
>  * Return the direction of the transition @p transition
>  */
> -Epdf_Page_Transition_Direction epdf_page_transition_direction_get 
> (Epdf_Page_Transition *transition);
> +EAPI Epdf_Page_Transition_Direction epdf_page_transition_direction_get 
> (Epdf_Page_Transition *transition);
>
> /**
>  * @brief Return the angle of a transition
> @@ -77,7 +77,7 @@
>  *
>  * Return the angle of the transition @p transition
>  */
> -int epdf_page_transition_angle_get (Epdf_Page_Transition *transition);
> +EAPI int epdf_page_transition_angle_get (Epdf_Page_Transition *transition);
>
> /**
>  * @brief Return the scale of a transition
> @@ -87,7 +87,7 @@
>  *
>  * Return the scale of the transition @p transition
>  */
> -double epdf_page_transition_scale_get (Epdf_Page_Transition *transition);
> +EAPI double epdf_page_transition_scale_get (Epdf_Page_Transition 
> *transition);
>
> /**
>  * @brief Whether the transition is rectangular or not
> @@ -97,7 +97,7 @@
>  *
>  * Whether the transition is rectangular or not
>  */
> -unsigned char epdf_page_transition_is_rectangular_get (Epdf_Page_Transition 
> *transition);
> +EAPI unsigned char epdf_page_transition_is_rectangular_get 
> (Epdf_Page_Transition *transition);
>
> /**
>  * @}
>
> Modified: trunk/PROTO/epdf/src/lib/epdf_postscript.h
> ===================================================================
> --- trunk/PROTO/epdf/src/lib/epdf_postscript.h        2010-08-13 06:58:43 UTC 
> (rev 51066)
> +++ trunk/PROTO/epdf/src/lib/epdf_postscript.h        2010-08-13 08:37:44 UTC 
> (rev 51067)
> @@ -39,10 +39,10 @@
>  * that pages count is used. The returned value must be freed with
>  * epdf_postscript_delete()
>  */
> -Epdf_Postscript *epdf_postscript_new (const Epdf_Document *document,
> -                                      const char          *filename,
> -                                      int                  first_page,
> -                                      int                  last_page);
> +EAPI Epdf_Postscript *epdf_postscript_new (const Epdf_Document *document,
> +                                           const char          *filename,
> +                                           int                  first_page,
> +                                           int                  last_page);
>
> /**
>  * @brief Delete an Epdf_Postscript object
> @@ -52,7 +52,7 @@
>  * Delete the Epdf_Postscript @p postscript that has been created
>  * with epdf_postscript_new()
>  */
> -void epdf_postscript_delete (Epdf_Postscript *postscript);
> +EAPI void epdf_postscript_delete (Epdf_Postscript *postscript);
>
> /**
>  * @brief Set the size of an Epdf_Postscript object
> @@ -64,9 +64,9 @@
>  * Set the width @p width and the height @p height of the postscipt
>  * file @p postscript. The sizes are in 1/72 inch.
>  */
> -void epdf_postscript_size_set (Epdf_Postscript *postscript,
> -                               int              width,
> -                               int              height);
> +EAPI void epdf_postscript_size_set (Epdf_Postscript *postscript,
> +                                    int              width,
> +                                    int              height);
>
> /**
>  * @brief Set if a Epdf_Postscript object prints in duplex mode or not
> @@ -78,8 +78,8 @@
>  * mode or not. Set @p duplex to @c 0 to not print in duplex mode, non
>  * 0 otherwise
>  */
> -void epdf_postscript_duplex_set (Epdf_Postscript *postscript,
> -                                 int              duplex);
> +EAPI void epdf_postscript_duplex_set (Epdf_Postscript *postscript,
> +                                      int              duplex);
>
> /**
>  * @brief Print a Epdf_Postscript object
> @@ -88,7 +88,7 @@
>  *
>  * Print a Postscript file described by @p postscript
>  */
> -void epdf_postscript_print (const Epdf_Postscript *postscript);
> +EAPI void epdf_postscript_print (const Epdf_Postscript *postscript);
>
> /**
>  * @}
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> enlightenment-svn mailing list
> enlightenment-...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to