Mercurial > mplayer.hg
view loader/wine/pshpack4.h @ 23477:15710094cb15
implement "bind sections"
allows to bind one input key to several slave commands (independently for each section)
as shown below:
RIGHT seek +10
RIGHT {tv} tv_step_channel 1
RIGHT {dvdnav} dvdnav 4
Currenlty only "tv" section added.
patch by Otvos Attila oattila at chello dot hu
author | voroshil |
---|---|
date | Thu, 07 Jun 2007 18:06:53 +0000 |
parents | 3b5f5d1c5041 |
children | c98c9e7f3bd0 |
line wrap: on
line source
#ifndef __WINE_PSHPACK_H #define __WINE_PSHPACK_H 4 #if defined(__GNUC__) || defined(__SUNPRO_CC) //#pragma pack(4) #elif defined(__SUNPRO_C) //#pragma pack() #elif !defined(RC_INVOKED) #error "4 as alignment isn't supported by the compiler" #endif /* defined(__GNUC__) || defined(__SUNPRO_CC) ; !defined(RC_INVOKED) */ #else /* !defined(__WINE_PSHPACK_H) */ #error "Nested pushing of alignment isn't supported by the compiler" #endif /* !defined(__WINE_PSHPACK_H) */