home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
TOOLKIT
/
PM
/
TEMPLATE
/
EDIT.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-11-17
|
5KB
|
174 lines
/**************************************************************************
* File name : edit.c
*
* Description: This module reserves paths for code for the WM_COMMAND
* messages posted by the standard edit menu.
*
* This source file contains the following functions:
*
* EditUndo(mp2)
* EditCut(mp2)
* EditCopy(mp2)
* EditPaste(mp2)
* EditClear(mp2)
*
* Concepts : clipboard
*
* API's : [none]
*
* Required
* Files : OS2.H, MAIN.H, XTRN.H
*
* Copyright (C) 1991 IBM Corporation
*
* DISCLAIMER OF WARRANTIES. The following [enclosed] code is
* sample code created by IBM Corporation. This sample code is not
* part of any standard or IBM product and is provided to you solely
* for the purpose of assisting you in the development of your
* applications. The code is provided "AS IS", without
* warranty of any kind. IBM shall not be liable for any damages
* arising out of your use of the sample code, even if they have been
* advised of the possibility of such damages. *
*************************************************************************/
/*
* Include files, macros, defined constants, and externs
*/
#include <os2.h>
#include "main.h"
#include "xtrn.h"
/*
* Global variables
*/
/*
* Entry point declarations
*/
/**************************************************************************
*
* Name : EditUndo(mp2)
*
* Description: Processes selection of the Undo choice of the Edit
* pulldown
*
* Concepts: called whenever Undo from the Edit menu is selected
*
* API's : [none]
*
* Parameters : mp2 = second message parameter
*
* Return : [none]
*
*************************************************************************/
VOID EditUndo(MPARAM mp2)
{
/* This routine currently doesn't use the mp2 parameter but
* it is referenced here to prevent an 'Unreferenced Parameter'
* warning at compile time.
*/
mp2;
} /* End of EditUndo */
/**************************************************************************
*
* Name : EditCut(mp2)
*
* Description: Processes selection of the Cut choice of the Edit
* pulldown
*
* Concepts: called whenever Cut from the Edit menu is selected
*
* API's : [none]
*
* Parameters : mp2 = second message parameter
*
* Return : [none]
*
*************************************************************************/
VOID EditCut(MPARAM mp2)
{
/* This routine currently doesn't use the mp2 parameter but
* it is referenced here to prevent an 'Unreferenced Parameter'
* warning at compile time.
*/
mp2;
} /* End of EditCut */
/**************************************************************************
*
* Name : EditCopy(mp2)
*
* Description: Processes selection of the Copy choice of the Edit
* pulldown
*
* Concepts: called whenever Copy from the Edit menu is selected
*
* API's : [none]
*
* Parameters : mp2 = second message parameter
*
* Return : [none]
*
*************************************************************************/
VOID EditCopy(MPARAM mp2)
{
/* This routine currently doesn't use the mp2 parameter but
* it is referenced here to prevent an 'Unreferenced Parameter'
* warning at compile time.
*/
mp2;
} /* End of EditCopy */
/**************************************************************************
*
* Name : EditPaste(mp2)
*
* Description: Processes selection of the Paste choice of the Edit
* pulldown
*
* Concepts: called whenever Paste from the Edit menu is selected
*
* API's : [none]
*
* Parameters : mp2 = second message parameter
*
* Return : [none]
*
*************************************************************************/
VOID EditPaste(MPARAM mp2)
{
/* This routine currently doesn't use the mp2 parameter but
* it is referenced here to prevent an 'Unreferenced Parameter'
* warning at compile time.
*/
mp2;
} /* End of EditPaste */
/**************************************************************************
*
* Name : EditClear(mp2)
*
* Description: Processes selection of the Clear choice of the Edit
* pulldown
*
* Concepts: called whenever Clear from the Edit menu is selected
*
* API's : [none]
*
* Parameters : mp2 = second message parameter
*
* Return : [none]
*
*************************************************************************/
VOID EditClear(MPARAM mp2)
{
/* This routine currently doesn't use the mp2 parameter but
* it is referenced here to prevent an 'Unreferenced Parameter'
* warning at compile time.
*/
mp2;
} /* End of EditClear */
/*************************** End of edit.c ****************************/