Blender  V2.59
Functions
sound_ops.c File Reference
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_utildefines.h"
#include "DNA_packedFile_types.h"
#include "DNA_scene_types.h"
#include "DNA_space_types.h"
#include "DNA_sequence_types.h"
#include "DNA_sound_types.h"
#include "DNA_userdef_types.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "BKE_packedFile.h"
#include "BKE_sound.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "UI_interface.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_sound.h"
#include "ED_util.h"
#include "sound_intern.h"

Go to the source code of this file.

Functions

static void open_init (bContext *C, wmOperator *op)
static int open_exec (bContext *UNUSED(C), wmOperator *op)
static int open_invoke (bContext *C, wmOperator *op, wmEvent *event)
void SOUND_OT_open (wmOperatorType *ot)
static int sound_poll (bContext *C)
static int pack_exec (bContext *C, wmOperator *op)
static void SOUND_OT_pack (wmOperatorType *ot)
static int sound_unpack_exec (bContext *C, wmOperator *op)
static int sound_unpack_invoke (bContext *C, wmOperator *op, wmEvent *UNUSED(event))
static void SOUND_OT_unpack (wmOperatorType *ot)
void ED_operatortypes_sound (void)

Detailed Description

Definition in file sound_ops.c.


Function Documentation

void ED_operatortypes_sound ( void  )

Definition at line 298 of file sound_ops.c.

References SOUND_OT_open(), SOUND_OT_pack(), SOUND_OT_unpack(), and WM_operatortype_append().

Referenced by ED_spacetypes_init().

static int open_exec ( bContext UNUSEDC,
wmOperator op 
) [static]

Definition at line 139 of file sound_ops.c.

References BKE_report(), OPERATOR_CANCELLED, wmOperator::reports, and RPT_ERROR.

Referenced by open_invoke(), and SOUND_OT_open().

static void open_init ( bContext C,
wmOperator op 
) [static]
static int open_invoke ( bContext C,
wmOperator op,
wmEvent event 
) [static]
static int pack_exec ( bContext C,
wmOperator op 
) [static]
void SOUND_OT_open ( wmOperatorType ot)
static void SOUND_OT_pack ( wmOperatorType ot) [static]
static void SOUND_OT_unpack ( wmOperatorType ot) [static]
static int sound_poll ( bContext C) [static]

Definition at line 182 of file sound_ops.c.

References Editing::act_seq, CTX_data_scene(), Scene::ed, SEQ_SOUND, and Sequence::type.

Referenced by SOUND_OT_pack(), and SOUND_OT_unpack().

static int sound_unpack_exec ( bContext C,
wmOperator op 
) [static]
static int sound_unpack_invoke ( bContext C,
wmOperator op,
wmEvent UNUSEDevent 
) [static]