Skip to content

Commit

Permalink
Added SampleContextMenuExtension plug-in sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
dalefugier committed May 6, 2013
1 parent 2a46d6d commit 762fc49
Show file tree
Hide file tree
Showing 13 changed files with 1,057 additions and 0 deletions.
16 changes: 16 additions & 0 deletions SampleContextMenuExtension/Resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by SampleContextMenuExtension.RC
//

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS

#define _APS_NEXT_RESOURCE_VALUE 18002
#define _APS_NEXT_CONTROL_VALUE 18002
#define _APS_NEXT_SYMED_VALUE 18002
#define _APS_NEXT_COMMAND_VALUE 32771
#endif
#endif
6 changes: 6 additions & 0 deletions SampleContextMenuExtension/SampleContextMenuExtension.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
; SampleContextMenuExtension.def : Declares the module parameters for the DLL.

; LIBRARY "SampleContextMenuExtension"

EXPORTS
; Explicit exports can go here
120 changes: 120 additions & 0 deletions SampleContextMenuExtension/SampleContextMenuExtension.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (United States) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END

3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
"LANGUAGE 9, 1\r\n"
"#pragma code_page(1252)\r\n"
"#include ""res\\SampleContextMenuExtension.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"#endif\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "00000409"
BEGIN
VALUE "CompanyName", "Robert McNeel & Associates"
VALUE "FileDescription", "SampleContextMenuExtension"
VALUE "FileVersion", "1.0.0.0"
VALUE "InternalName", "SampleContextMenuExtension.rhp"
VALUE "LegalCopyright", "Copyright � 2013, Robert McNeel & Associates"
VALUE "OriginalFilename", "SampleContextMenuExtension.rhp"
VALUE "ProductName", "SampleContextMenuExtension"
VALUE "ProductVersion", "1.0.0.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0, 1033
END
END

#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE 9, 1
#pragma code_page(1252)
#include "res\SampleContextMenuExtension.rc2" // non-Microsoft Visual C++ edited resources
#include "afxres.rc" // Standard components
#endif

/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

Loading

0 comments on commit 762fc49

Please sign in to comment.