mcopy.h

来自「彩信MMS的全部代码」· C头文件 代码 · 共 110 行

H
110
字号
/*
 * Copyright (C) Obigo AB, 2002-2005.
 * All rights reserved.
 *
 * This software is covered by the license agreement between
 * the end user and Obigo AB, and may be 
 * used and copied only in accordance with the terms of the 
 * said agreement.
 *
 * Obigo AB assumes no responsibility or 
 * liability for any errors or inaccuracies in this software, 
 * or any consequential, incidental or indirect damage arising
 * out of the use of the software.
 *
 */










#ifndef _MCOPY_H
#define _MCOPY_H


#define MMH_COPY_ENTIRE_FILE    (-1)
#define MMH_COPY_APPEND         (-1)










typedef enum
{
    





    MMS_SIG_MMH_COPY_START = M_FSM_MMH_COPY * MMS_MAX_SIG_PER_FSM,

    





    MMS_SIG_MMH_COPY_CONTINUE,

    








    MMS_SIG_MMH_COPY_FINISHED
} MmsMmhCopySignalId;


typedef struct 
{
    MmsStateMachine sender;     
    void *callerData;           

    struct 
    {
        UINT32 id;              
        char category;          
        INT32 pos;              
        INT32 bytes;            
        CMN_BOOL isOpen;        
    } from;

    struct
    {
        CMN_BOOL shouldCreate;  
        UINT32 id;              
        char category;          
        INT32 pos;              
        CMN_BOOL isOpen;        
    } to;
} MmsCopyFile;










void mmhCopyInit(void);
void mmhCopyTerminate(void);

#endif 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?