## Constants Constants — The Data Factory Constant Definitions |

## Synopsis

    #include <caja-actions/na-ifactory-object-data.h>

    #define             NA_FACTORY_OBJECT_ID_GROUP
    #define             NAFO_DATA_ID
    #define             NAFO_DATA_LABEL
    #define             NAFO_DATA_PARENT
    #define             NAFO_DATA_CONDITIONS
    #define             NA_FACTORY_OBJECT_ITEM_GROUP
    #define             NAFO_DATA_IVERSION
    #define             NAFO_DATA_TYPE
    #define             NAFO_DATA_TOOLTIP
    #define             NAFO_DATA_ICON
    #define             NAFO_DATA_ICON_NOLOC
    #define             NAFO_DATA_DESCRIPTION
    #define             NAFO_DATA_SHORTCUT
    #define             NAFO_DATA_SUBITEMS
    #define             NAFO_DATA_SUBITEMS_SLIST
    #define             NAFO_DATA_ENABLED
    #define             NAFO_DATA_READONLY
    #define             NAFO_DATA_PROVIDER
    #define             NAFO_DATA_PROVIDER_DATA
    #define             NA_FACTORY_OBJECT_ACTION_GROUP
    #define             NAFO_DATA_VERSION
    #define             NAFO_DATA_TARGET_SELECTION
    #define             NAFO_DATA_TARGET_LOCATION
    #define             NAFO_DATA_TARGET_TOOLBAR
    #define             NAFO_DATA_TOOLBAR_LABEL
    #define             NAFO_DATA_TOOLBAR_SAME_LABEL
    #define             NAFO_DATA_LAST_ALLOCATED
    #define             NA_FACTORY_ACTION_V1_GROUP
    #define             NA_FACTORY_OBJECT_MENU_GROUP
    #define             NA_FACTORY_OBJECT_PROFILE_GROUP
    #define             NAFO_DATA_DESCNAME
    #define             NAFO_DATA_DESCNAME_NOLOC
    #define             NAFO_DATA_PATH
    #define             NAFO_DATA_PARAMETERS
    #define             NAFO_DATA_WORKING_DIR
    #define             NAFO_DATA_EXECUTION_MODE
    #define             NAFO_DATA_STARTUP_NOTIFY
    #define             NAFO_DATA_STARTUP_WMCLASS
    #define             NAFO_DATA_EXECUTE_AS
    #define             NA_FACTORY_OBJECT_CONDITIONS_GROUP
    #define             NAFO_DATA_BASENAMES
    #define             NAFO_DATA_MATCHCASE
    #define             NAFO_DATA_MIMETYPES
    #define             NAFO_DATA_MIMETYPES_IS_ALL
    #define             NAFO_DATA_ISFILE
    #define             NAFO_DATA_ISDIR
    #define             NAFO_DATA_MULTIPLE
    #define             NAFO_DATA_SCHEMES
    #define             NAFO_DATA_FOLDERS
    #define             NAFO_DATA_SELECTION_COUNT
    #define             NAFO_DATA_ONLY_SHOW
    #define             NAFO_DATA_NOT_SHOW
    #define             NAFO_DATA_TRY_EXEC
    #define             NAFO_DATA_SHOW_IF_REGISTERED
    #define             NAFO_DATA_SHOW_IF_TRUE
    #define             NAFO_DATA_SHOW_IF_RUNNING
    #define             NAFO_DATA_CAPABILITITES

## Description

Each elementary data get its own name here.

Through NADataDef and NADataGroup definitions, each NAObjectItem derived object which implement the NAIFactoryObject interface will dynamically define a property for each attached elementary data.

## Details

### NA_FACTORY_OBJECT_ID_GROUP

    #define NA_FACTORY_OBJECT_ID_GROUP          "na-factory-group-id"

NAObjectId common data.

### NAFO_DATA_ID

    #define NAFO_DATA_ID                        "na-factory-data-id"

### NAFO_DATA_LABEL

    #define NAFO_DATA_LABEL                     "na-factory-data-label"

### NAFO_DATA_PARENT

    #define NAFO_DATA_PARENT                    "na-factory-data-parent"

### NAFO_DATA_CONDITIONS

    #define NAFO_DATA_CONDITIONS                "na-factory-data-conditions"

### NA_FACTORY_OBJECT_ITEM_GROUP

    #define NA_FACTORY_OBJECT_ITEM_GROUP        "na-factory-group-item"

NAObjectItem common data.

### NAFO_DATA_IVERSION

    #define NAFO_DATA_IVERSION                  "na-factory-data-iversion"

### NAFO_DATA_TYPE

    #define NAFO_DATA_TYPE                      "na-factory-data-type"

### NAFO_DATA_TOOLTIP

    #define NAFO_DATA_TOOLTIP                   "na-factory-data-tooltip"

### NAFO_DATA_ICON

    #define NAFO_DATA_ICON                      "na-factory-data-icon"

### NAFO_DATA_ICON_NOLOC

    #define NAFO_DATA_ICON_NOLOC                "na-factory-data-unlocalized-icon"

### NAFO_DATA_DESCRIPTION

    #define NAFO_DATA_DESCRIPTION               "na-factory-data-description"

### NAFO_DATA_SHORTCUT

    #define NAFO_DATA_SHORTCUT                  "na-factory-data-shortcut"

### NAFO_DATA_SUBITEMS

    #define NAFO_DATA_SUBITEMS                  "na-factory-data-items"

### NAFO_DATA_SUBITEMS_SLIST

    #define NAFO_DATA_SUBITEMS_SLIST            "na-factory-data-items-slist"

### NAFO_DATA_ENABLED

    #define NAFO_DATA_ENABLED                   "na-factory-data-enabled"

### NAFO_DATA_READONLY

    #define NAFO_DATA_READONLY                  "na-factory-data-readonly"

### NAFO_DATA_PROVIDER

    #define NAFO_DATA_PROVIDER                  "na-factory-data-provider"

### NAFO_DATA_PROVIDER_DATA

    #define NAFO_DATA_PROVIDER_DATA             "na-factory-data-provider-data"

### NA_FACTORY_OBJECT_ACTION_GROUP

    #define NA_FACTORY_OBJECT_ACTION_GROUP      "na-factory-group-action"

NAObjectAction specific datas.

### NAFO_DATA_VERSION

    #define NAFO_DATA_VERSION                   "na-factory-data-version"

### NAFO_DATA_TARGET_SELECTION

    #define NAFO_DATA_TARGET_SELECTION          "na-factory-data-target-selection"

### NAFO_DATA_TARGET_LOCATION

    #define NAFO_DATA_TARGET_LOCATION           "na-factory-data-target-location"

### NAFO_DATA_TARGET_TOOLBAR

    #define NAFO_DATA_TARGET_TOOLBAR            "na-factory-data-target-toolbar"

### NAFO_DATA_TOOLBAR_LABEL

    #define NAFO_DATA_TOOLBAR_LABEL             "na-factory-data-toolbar-label"

### NAFO_DATA_TOOLBAR_SAME_LABEL

    #define NAFO_DATA_TOOLBAR_SAME_LABEL        "na-factory-data-toolbar-same-label"

### NAFO_DATA_LAST_ALLOCATED

    #define NAFO_DATA_LAST_ALLOCATED            "na-factory-data-last-allocated"

### NA_FACTORY_ACTION_V1_GROUP

    #define NA_FACTORY_ACTION_V1_GROUP          "na-factory-group-action-v1"

A group of datas which are specific to v 1 actions. It happens to be empty as all these datas have been alter embedded in NAObjectItem data group.

### NA_FACTORY_OBJECT_MENU_GROUP

    #define NA_FACTORY_OBJECT_MENU_GROUP        "na-factory-group-menu"

NAObjectMenu specific datas. It happens to be empty as the definition of a menu is very close of those of an action.

### NA_FACTORY_OBJECT_PROFILE_GROUP

    #define NA_FACTORY_OBJECT_PROFILE_GROUP     "na-factory-group-profile"

NAObjectProfile specific datas.

### NAFO_DATA_DESCNAME

    #define NAFO_DATA_DESCNAME                  "na-factory-data-descname"

### NAFO_DATA_DESCNAME_NOLOC

    #define NAFO_DATA_DESCNAME_NOLOC            "na-factory-data-unlocalized-descname"

### NAFO_DATA_PATH

    #define NAFO_DATA_PATH                      "na-factory-data-path"

### NAFO_DATA_PARAMETERS

    #define NAFO_DATA_PARAMETERS                "na-factory-data-parameters"

### NAFO_DATA_WORKING_DIR

    #define NAFO_DATA_WORKING_DIR               "na-factory-data-working-dir"

### NAFO_DATA_EXECUTION_MODE

    #define NAFO_DATA_EXECUTION_MODE            "na-factory-data-execution-mode"

### NAFO_DATA_STARTUP_NOTIFY

    #define NAFO_DATA_STARTUP_NOTIFY            "na-factory-data-startup-notify"

### NAFO_DATA_STARTUP_WMCLASS

    #define NAFO_DATA_STARTUP_WMCLASS           "na-factory-data-startup-wm-class"

### NAFO_DATA_EXECUTE_AS

    #define NAFO_DATA_EXECUTE_AS                "na-factory-data-execute-as"

### NA_FACTORY_OBJECT_CONDITIONS_GROUP

    #define NA_FACTORY_OBJECT_CONDITIONS_GROUP  "na-factory-group-conditions"

The datas which determine the display conditions of a menu or an action.

`see_also`: NAIContext interface.

### NAFO_DATA_BASENAMES

    #define NAFO_DATA_BASENAMES                 "na-factory-data-basenames"

### NAFO_DATA_MATCHCASE

    #define NAFO_DATA_MATCHCASE                 "na-factory-data-matchcase"

### NAFO_DATA_MIMETYPES

    #define NAFO_DATA_MIMETYPES                 "na-factory-data-mimetypes"

### NAFO_DATA_MIMETYPES_IS_ALL

    #define NAFO_DATA_MIMETYPES_IS_ALL             "na-factory-data-all-mimetypes"

### NAFO_DATA_ISFILE

    #define NAFO_DATA_ISFILE                    "na-factory-data-isfile"

### NAFO_DATA_ISDIR

    #define NAFO_DATA_ISDIR                     "na-factory-data-isdir"

### NAFO_DATA_MULTIPLE

    #define NAFO_DATA_MULTIPLE                  "na-factory-data-multiple"

### NAFO_DATA_SCHEMES

    #define NAFO_DATA_SCHEMES                   "na-factory-data-schemes"

### NAFO_DATA_FOLDERS

    #define NAFO_DATA_FOLDERS                   "na-factory-data-folders"

### NAFO_DATA_SELECTION_COUNT

    #define NAFO_DATA_SELECTION_COUNT           "na-factory-data-selection-count"

### NAFO_DATA_ONLY_SHOW

    #define NAFO_DATA_ONLY_SHOW                 "na-factory-data-only-show-in"

### NAFO_DATA_NOT_SHOW

    #define NAFO_DATA_NOT_SHOW                  "na-factory-data-not-show-in"

### NAFO_DATA_TRY_EXEC

    #define NAFO_DATA_TRY_EXEC                  "na-factory-data-try-exec"

### NAFO_DATA_SHOW_IF_REGISTERED

    #define NAFO_DATA_SHOW_IF_REGISTERED        "na-factory-data-show-if-registered"

### NAFO_DATA_SHOW_IF_TRUE

    #define NAFO_DATA_SHOW_IF_TRUE              "na-factory-data-show-if-true"

### NAFO_DATA_SHOW_IF_RUNNING

    #define NAFO_DATA_SHOW_IF_RUNNING           "na-factory-data-show-if-running"

### NAFO_DATA_CAPABILITITES

    #define NAFO_DATA_CAPABILITITES             "na-factory-data-capabilitites"