Click here to Skip to main content
15,891,567 members
Articles / Artificial Intelligence

Developing MIDI applications with DirectMusic

Rate me:
Please Sign up or sign in to vote.
4.91/5 (45 votes)
11 Apr 2008LGPL325 min read 612.1K   9.5K   147  
A wrapper class library for the DirectMusic MIDI.
/*
////////////////////////////////////////////////////////////////////////
  
  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.
 
  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.
 
  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 
Copyright (c) 2002-2003 by Carlos Jim�nez de Parga  
All rights reserved.
For any suggestion or failure report, please contact me by:
e-mail: cjimenez@servitel.es
  
///////////////////////////////////////////////////////////////////////
Version: 0.5
Module : Obj.h
Purpose: Header definition for the CObj class
Date Format: Day/Month/Year
Created: CJP / 05-02-2003
History: CJP / 25-03-2003 

*/

#if !defined(AFX_OBJECT_H__9605DF0F_4F30_11D6_AA7A_00105A212DC5__INCLUDED_)
#define AFX_OBJECT_H__9605DF0F_4F30_11D6_AA7A_00105A212DC5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CObj  
{
public:
	int m_nPosX,m_nPosY,m_nWidth,m_nHeight; // Member variables to define an physic object
	CObj(int x = 0,int y = 0,int width = 0,int height = 0); // Constructor (default)
	virtual ~CObj();	// Destructor as virtual

};

#endif // !defined(AFX_OBJECT_H__9605DF0F_4F30_11D6_AA7A_00105A212DC5__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer
Spain Spain
I obtained my PhD degree in Computer Graphics at the National Distance Education University (UNED) in October 2019. I also hold a Ms. degree in Software Engineering and Computer Systems and a Bs. degree in Computer Science from the National Distance Education University (UNED).
I have been employed as a C++ software developer in several companies since year 2000.
I currently work as a Tutor-Professor of Symbolic Logic, Discrete Math and Java Object-Oriented Programming at UNED-Cartagena (Spain) since 2015.

Comments and Discussions