WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=a6a0822cab8d8ea03e8e67fb714835c7583f3513
commit a6a0822cab8d8ea03e8e67fb714835c7583f3513 Author: Xavi Artigas <[email protected]> Date: Thu Nov 16 02:58:19 2017 -0800 Wiki page hello-world.md changed with summary [new includes] by Xavi Artigas --- pages/develop/tutorial/c/hello-world.md.txt | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pages/develop/tutorial/c/hello-world.md.txt b/pages/develop/tutorial/c/hello-world.md.txt index 31987f43..296c1423 100644 --- a/pages/develop/tutorial/c/hello-world.md.txt +++ b/pages/develop/tutorial/c/hello-world.md.txt @@ -17,20 +17,15 @@ Using your favorite text editor, create a text file and save it as ``hello-world #define EFL_BETA_API_SUPPORT 1 #include <Eina.h> -#include <Efl.h> -#include <Elementary.h> +#include <Efl_Core.h> + ``` The new EFL API has been in Beta stage for a while, and some libraries still need that you define the ``EFL_EO_API_SUPPORT`` and ``EFL_BETA_API_SUPPORT`` symbols before including any EFL library. Don't worry, though, they should not be required anymore in the near future. -The EFL is split into several libraries. You only need to include the ones you actually want to use. In this tutorial you will be calling methods from the ``Eina`` and ``Efl`` libraries, therefore you need to include the ``Eina.h`` and ``Efl.h`` headers. - -> **NOTE:** -> The ``Elementary.h`` header is special and required for the program to compile. It will be removed soon, however. - -If you're not sure which libraries your program is actually using just look at the prefix of the EFL methods and macros. In this case you will be using ``eina_``, ``EINA_``, ``efl_`` and ``EFL_``. +The EFL is split into several libraries. You only need to include the ones you actually want to use. In this tutorial you will be calling methods from the ``Eina`` and ``Efl`` libraries, therefore you need to include the ``Eina.h`` and ``Efl_Core.h`` headers. -You will explore the EFL libraries in greater depth in later tutorials. In the meantime, visit the [List of EFL Libraries](list-of-efl-libraries.md) for an overview of the purpose of each one. +You will explore the EFL libraries in greater depth in later tutorials. Other examples are ``Efl_Net.h`` for network operations and ``Efl_Ui.h`` to create *User Interface* elements like windows and buttons. ## Step Two: Main Function ## --
